You are here

function rules_get_events in Rules 6

Returns info about all defined events

2 calls to rules_get_events()
rules_admin_form_overview in rules_admin/rules_admin.rule_forms.inc
Lists the available rules.
rules_get_event_sets in rules/rules.module
Returns info about all events prefixed with 'event_' to be a set.

File

rules/rules.module, line 68
Rules engine module

Code

function rules_get_events($key = 'all') {
  return rules_gather_data('rules_event_info', $key);
}