You are here

function rules_init in Rules 7.2

Same name and namespace in other branches
  1. 6 rules/modules/rules.events.inc \rules_init()

Implements hook_init().

1 string reference to 'rules_init'
rules_menu_get_item_alter in ./rules.module
Implements hook_menu_get_item_alter().

File

./rules.module, line 51
Rules engine module.

Code

function rules_init() {

  // See rules_menu_get_item_alter().
  $rules_init =& drupal_static(__FUNCTION__, FALSE);
  $rules_init = TRUE;

  // Enable event invocation once hook_init() was invoked for Rules.
  rules_event_invocation_enabled(TRUE);
  rules_invoke_event('init');
}