function 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

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');
}