Révision 1e39edcb
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/ctools/includes/content.inc | ||
---|---|---|
155 | 155 |
// Walk through the subtypes and ensure minimal settings are |
156 | 156 |
// retained. |
157 | 157 |
foreach ($subtypes as $id => $subtype) { |
158 |
// Ensure that the 'subtype_id' value exists. |
|
159 |
if (!isset($subtype['subtype_id'])) { |
|
160 |
$subtype['subtype_id'] = $id; |
|
161 |
} |
|
162 |
|
|
158 | 163 |
// Use exact name since this is a modify by reference. |
159 | 164 |
ctools_content_prepare_subtype($subtypes[$id], $plugin); |
160 | 165 |
} |
... | ... | |
217 | 222 |
} |
218 | 223 |
} |
219 | 224 |
|
225 |
// Trigger hook_ctools_content_subtype_alter(). |
|
220 | 226 |
drupal_alter('ctools_content_subtype', $subtype, $plugin); |
221 | 227 |
} |
222 | 228 |
|
... | ... | |
241 | 247 |
* Any incoming content, if this display is a wrapper. |
242 | 248 |
* |
243 | 249 |
* @return |
244 |
* The content as rendered by the plugin. This content should be an array
|
|
245 |
* with the following possible keys:
|
|
250 |
* The content as rendered by the plugin, or NULL.
|
|
251 |
* This content should be an object with the following possible properties:
|
|
246 | 252 |
* - title: The safe to render title of the content. |
247 | 253 |
* - title_heading: The title heading. |
248 | 254 |
* - content: The safe to render HTML content. |
Formats disponibles : Unified diff
Weekly update of contrib modules