function rules_action_variable_add in Rules 7.2
Action: Add variable.
Related topics
1 string reference to 'rules_action_variable_add'
- rules_data_action_info in modules/
data.rules.inc - Implements hook_rules_action_info() on behalf of the pseudo data module.
File
- modules/
data.eval.inc, line 169 - Contains rules integration for the data module needed during evaluation.
Code
function rules_action_variable_add($args, $element) {
return array(
'variable_added' => $args['value'],
);
}