You are here

function watchdog_triggers_menu in Logging and alerts 7.2

Same name and namespace in other branches
  1. 6.2 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()
  2. 6 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_menu()
  3. 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;
}