Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/arguments/node_edit.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* |
|
6 |
* Plugin to provide an argument handler for a Node edit form |
|
5 |
* Plugin to provide an argument handler for a Node edit form. |
|
7 | 6 |
*/ |
8 | 7 |
|
9 | 8 |
/** |
... | ... | |
12 | 11 |
*/ |
13 | 12 |
$plugin = array( |
14 | 13 |
'title' => t("Node edit form: node ID"), |
15 |
// keyword to use for %substitution
|
|
14 |
// Keyword to use for %substitution.
|
|
16 | 15 |
'keyword' => 'node', |
17 | 16 |
'description' => t('Creates a node edit form context from a node ID argument.'), |
18 | 17 |
'context' => 'ctools_node_edit_context', |
... | ... | |
48 | 47 |
// This will perform a node_access check, so we don't have to. |
49 | 48 |
return ctools_context_create('node_edit_form', $node); |
50 | 49 |
} |
51 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules