Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/arguments/node_add.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* |
|
6 |
* Plugin to provide an argument handler for a Node add form |
|
5 |
* Plugin to provide an argument handler for a Node add form. |
|
7 | 6 |
*/ |
8 | 7 |
|
9 | 8 |
/** |
... | ... | |
12 | 11 |
*/ |
13 | 12 |
$plugin = array( |
14 | 13 |
'title' => t("Node add form: node type"), |
15 |
// keyword to use for %substitution
|
|
14 |
// Keyword to use for %substitution.
|
|
16 | 15 |
'keyword' => 'node_type', |
17 | 16 |
'description' => t('Creates a node add form context from a node type argument.'), |
18 | 17 |
'context' => 'ctools_node_add_context', |
... | ... | |
29 | 28 |
|
30 | 29 |
return ctools_context_create('node_add_form', $arg); |
31 | 30 |
} |
32 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules