Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/arguments/vid.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* |
|
6 |
* Plugin to provide an argument handler for a vocabulary id |
|
5 |
* Plugin to provide an argument handler for a vocabulary id. |
|
7 | 6 |
*/ |
8 | 7 |
|
9 | 8 |
/** |
... | ... | |
12 | 11 |
*/ |
13 | 12 |
$plugin = array( |
14 | 13 |
'title' => t("Vocabulary: ID"), |
15 |
// keyword to use for %substitution
|
|
14 |
// Keyword to use for %substitution.
|
|
16 | 15 |
'keyword' => 'vocabulary', |
17 | 16 |
'description' => t('Creates a vocabulary context from a vocabulary ID argument.'), |
18 | 17 |
'context' => 'ctools_vid_context', |
... | ... | |
43 | 42 |
|
44 | 43 |
return ctools_context_create('vocabulary', $vocabulary); |
45 | 44 |
} |
46 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules