You are here

function watchdog_triggers_menu in Logging and alerts 6

Same name and namespace in other branches
  1. 6.2 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()
  2. 7.2 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()
  3. 7 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()

Implementation of hook_menu().

File

watchdog_triggers/watchdog_triggers.module, line 157
Provides a Trigger and Action integration for watchdog events.

Code

function watchdog_triggers_menu() {
  $items = array();
  $items['admin/settings/watchdog_triggers'] = array(
    'title' => t('Watchdog triggers'),
    'description' => t('Configure watchdog triggers settings'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'watchdog_triggers_admin_settings',
    ),
    'access arguments' => array(
      'administer watchdog triggers',
    ),
  );
  return $items;
}