Révision 136a805a
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/ctools/plugins/content_types/vocabulary_context/vocabulary_terms.inc | ||
---|---|---|
21 | 21 |
* list of terms for the input vocabulary. |
22 | 22 |
*/ |
23 | 23 |
function ctools_vocabulary_terms_content_type_render($subtype, $conf, $panel_args, $context) { |
24 |
$vocab = isset($context->data) ? clone($context->data) : NULL;
|
|
24 |
$vocab = isset($context->data) ? clone $context->data : NULL;
|
|
25 | 25 |
$max_depth = (!empty($conf['max_depth']) ? (int)$conf['max_depth'] : NULL); |
26 | 26 |
if ($conf['tree'] == FALSE) { |
27 | 27 |
$terms = taxonomy_get_tree($vocab->vid, 0, $max_depth); |
Formats disponibles : Unified diff
Weekly update of contrib modules