Révision 950416da
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/rules/modules/rules_core.rules.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 | 3 |
/** |
4 |
* @file Rules core integration providing data types and conditions and |
|
5 |
* actions to invoke configured components. |
|
4 |
* @file |
|
5 |
* Rules integration with Drupal core. |
|
6 |
* |
|
7 |
* Provides data types, conditions, and actions to invoke configured components. |
|
6 | 8 |
* |
7 | 9 |
* @addtogroup rules |
10 |
* |
|
8 | 11 |
* @{ |
9 | 12 |
*/ |
10 | 13 |
|
... | ... | |
139 | 142 |
// If this entity type serves as bundle for another one, provide an |
140 | 143 |
// options list for selecting a bundle entity. |
141 | 144 |
if (!empty($info['bundle of'])) { |
142 |
$return[$type]['ui class'] = 'RulesDataUIBundleEntity';
|
|
145 |
$return[$type]['ui class'] = 'RulesDataUIBundleEntity'; |
|
143 | 146 |
} |
144 | 147 |
} |
145 | 148 |
} |
... | ... | |
191 | 194 |
'class' => 'RulesDateInputEvaluator', |
192 | 195 |
'type' => 'date', |
193 | 196 |
'weight' => -10, |
194 |
),
|
|
197 |
), |
|
195 | 198 |
// Post-process any input value to absolute URIs. |
196 | 199 |
'uri' => array( |
197 | 200 |
'class' => 'RulesURIInputEvaluator', |
198 | 201 |
'type' => 'uri', |
199 | 202 |
'weight' => 50, |
200 |
),
|
|
203 |
), |
|
201 | 204 |
); |
202 | 205 |
} |
203 | 206 |
|
... | ... | |
213 | 216 |
'class' => 'RulesDateOffsetProcessor', |
214 | 217 |
'type' => 'date', |
215 | 218 |
'weight' => -2, |
216 |
),
|
|
219 |
), |
|
217 | 220 |
'num_offset' => array( |
218 | 221 |
'class' => 'RulesNumericOffsetProcessor', |
219 | 222 |
'type' => array('integer', 'decimal'), |
220 | 223 |
'weight' => -2, |
221 |
),
|
|
224 |
), |
|
222 | 225 |
); |
223 | 226 |
} |
224 | 227 |
|
... | ... | |
306 | 309 |
} |
307 | 310 |
|
308 | 311 |
/** |
309 |
* Implements the features export callback of the RulesPluginFeaturesIntegrationInterace. |
|
312 |
* Implements the features export callback of the RulesPluginFeaturesIntegrationInterface.
|
|
310 | 313 |
*/ |
311 | 314 |
function rules_element_invoke_component_features_export(&$export, &$pipe, $module_name = '', $element) { |
312 | 315 |
// Add the used component to the pipe. |
Formats disponibles : Unified diff
Weekly update of contrib modules