You are here

function rules_admin_is_event_rule in Rules 6

1 call to rules_admin_is_event_rule()
theme_rules_admin_rule_render in rules_admin/rules_admin.render.inc
Adds surrounding elements like headlines for conditions and actions and renders the rule
1 string reference to 'rules_admin_is_event_rule'
rules_admin_form_export in rules_admin/rules_admin.export.inc
Exports one or more configurations

File

rules_admin/rules_admin.inc, line 381

Code

function rules_admin_is_event_rule($rule) {
  return !empty($rule['#set']) && strpos($rule['#set'], 'event_') === 0;
}