function rules_condition_entity_is_of_bundle_assertions
Assert the selected entity type and bundle.
Related topics
File
-
modules/
entity.rules.inc, line 516
Code
function rules_condition_entity_is_of_bundle_assertions($element) {
if ($bundle = $element->settings['bundle']) {
$assertions = array();
$assertions['entity']['type'] = $element->settings['type'];
$assertions['entity']['bundle'] = $bundle;
return $assertions;
}
}