function rules_condition_entity_is_of_bundle_process
Process callback for the condition entity_is_of_bundle.
Related topics
File
-
modules/
entity.rules.inc, line 528
Code
function rules_condition_entity_is_of_bundle_process(RulesAbstractPlugin $element) {
// If we know the entity type, auto-populate it.
if (($info = $element->getArgumentInfo('entity')) && $info['type'] != 'entity') {
$element->settings['type'] = $info['type'];
}
}