function system_rules_event_info in Rules 6
Implementation of hook_rules_event_info().
Related topics
File
- rules/
modules/ system.rules.inc, line 14 - rules integration for the system module
Code
function system_rules_event_info() {
return array(
'init' => array(
'label' => t('User is going to view a page'),
'module' => 'System',
'arguments' => rules_events_global_user_argument(),
'help' => t("Be aware that some actions might initialize the theme system. After that, it's impossible for any module to change the used theme."),
),
'cron' => array(
'label' => t('Cron maintenance tasks are performed'),
'module' => 'System',
'arguments' => rules_events_global_user_argument(),
),
);
}