function rules_action_create_type_validate
Validate callback for entity create, add variable and data create actions.
Related topics
2 string references to 'rules_action_create_type_validate'
- rules_data_action_info in modules/
data.rules.inc - Implements hook_rules_action_info() on behalf of the pseudo data module.
- rules_entity_action_info in modules/
entity.rules.inc - Implements hook_rules_action_info() on behalf of the entity module.
File
-
modules/
data.rules.inc, line 337
Code
function rules_action_create_type_validate($element) {
if (!isset($element->settings['type'])) {
throw new RulesIntegrityException(t('Invalid type specified.'), array(
$element,
'parameter',
'type',
));
}
}