function watchdog_triggers_menu in Logging and alerts 7.2
Same name and namespace in other branches
- 6.2 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()
- 6 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()
- 7 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()
Implements hook_menu().
File
- watchdog_triggers/
watchdog_triggers.module, line 158 - Provides a Trigger and Action integration for watchdog events.
Code
function watchdog_triggers_menu() {
$items = array();
$items['admin/config/development/watchdog_triggers'] = array(
'title' => 'Watchdog triggers',
'description' => 'Configure watchdog triggers settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'watchdog_triggers_admin_settings',
),
'access arguments' => array(
'administer watchdog triggers',
),
);
return $items;
}