function rules_admin_system_info_alter
Implements hook_system_info_alter().
Adds configuration links for Rules and Rules Scheduler in the modules list. (This is done by the Rules UI module, without which there would be no configuration pages to visit.)
File
-
rules_admin/
rules_admin.module, line 128
Code
function rules_admin_system_info_alter(&$info, $file, $type) {
if ($file->name == 'rules') {
$info['configure'] = 'admin/config/workflow/rules';
}
if ($file->name == 'rules_scheduler') {
$info['configure'] = 'admin/config/workflow/rules/schedule';
}
}