You are here

function errorlog_menu in Logging and alerts 7

Same name and namespace in other branches
  1. 6.2 errorlog/errorlog.module \errorlog_menu()
  2. 6 errorlog/errorlog.module \errorlog_menu()
  3. 7.2 errorlog/errorlog.module \errorlog_menu()

Implements hook_menu().

File

errorlog/errorlog.module, line 27
Drupal Module: Web Server Logging and Alerts

Code

function errorlog_menu() {
  $items['admin/config/system/errorlog'] = array(
    'title' => 'Web server logging and alerts',
    'description' => "Settings for logging and alerts to server's error log.",
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'errorlog_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'errorlog.admin.inc',
  );
  return $items;
}