Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/content_types/term_context/term_list.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 | 3 |
/** |
4 |
* @file |
|
4 | 5 |
* Plugins are described by creating a $plugin array which will be used |
5 | 6 |
* by the system that includes this file. |
6 | 7 |
*/ |
8 |
|
|
7 | 9 |
$plugin = array( |
8 | 10 |
'single' => TRUE, |
9 | 11 |
'title' => t('List of related terms'), |
... | ... | |
40 | 42 |
$block->delta = $conf['type']; |
41 | 43 |
switch ($conf['type']) { |
42 | 44 |
case 'related': |
43 |
// FIXME this no longer exists, must be done with Field API
|
|
45 |
// @todo this no longer exists, must be done with Field API.
|
|
44 | 46 |
// $terms = taxonomy_get_related($term->tid); |
45 | 47 |
break; |
46 | 48 |
|
... | ... | |
78 | 80 |
|
79 | 81 |
case 'synonyms': |
80 | 82 |
// FIXME this no longer exists, must be done with Field API |
81 |
// $terms = taxonomy_get_synonyms($term->tid);
|
|
83 |
// $terms = taxonomy_get_synonyms($term->tid);.
|
|
82 | 84 |
break; |
83 | 85 |
} |
84 | 86 |
|
... | ... | |
169 | 171 |
$form_state['conf'][$key] = $form_state['values'][$key]; |
170 | 172 |
} |
171 | 173 |
} |
172 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules