Révision 950416da
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/rules/modules/node.rules.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 | 3 |
/** |
4 |
* @file rules integration for the node module |
|
4 |
* @file |
|
5 |
* Rules integration for the node module. |
|
5 | 6 |
* |
6 | 7 |
* @addtogroup rules |
8 |
* |
|
7 | 9 |
* @{ |
8 | 10 |
*/ |
9 | 11 |
|
... | ... | |
82 | 84 |
} |
83 | 85 |
|
84 | 86 |
/** |
85 |
* Returns some parameter suitable for using it with a node |
|
87 |
* Returns some parameter suitable for using it with a node.
|
|
86 | 88 |
*/ |
87 | 89 |
function rules_events_node_variables($node_label, $update = FALSE) { |
88 | 90 |
$args = array( |
... | ... | |
140 | 142 |
return user_access('administer nodes'); |
141 | 143 |
} |
142 | 144 |
|
143 |
|
|
144 | 145 |
/** |
145 | 146 |
* Event handler support node bundle event settings. |
146 | 147 |
*/ |
... | ... | |
154 | 155 |
protected function getBundlePropertyLabel() { |
155 | 156 |
return t('type'); |
156 | 157 |
} |
158 |
|
|
157 | 159 |
} |
158 | 160 |
|
159 | 161 |
/** |
Formats disponibles : Unified diff
Weekly update of contrib modules