You are here

function errorlog_menu in Logging and alerts 6

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

Implementation of hook_menu().

File

errorlog/errorlog.module, line 24
Sends logs and alerts to the web server's log.

Code

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