You are here

function audit_log_syslog_menu in Audit Log 7

Implements hook_menu().

File

modules/audit_log_syslog/audit_log_syslog.module, line 56
Hook implementation for the Audit syslog logging module.

Code

function audit_log_syslog_menu() {
  $items = array();
  $items['admin/config/system/audit-log'] = array(
    'title' => 'Audit log settings',
    'description' => 'Audit log settings',
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array(
      'audit_log_syslog_admin',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file path' => drupal_get_path('module', 'system'),
    'file' => 'system.admin.inc',
  );
  $items['admin/config/system/audit-log/syslog'] = array(
    'title' => 'Configure syslog',
    'description' => 'Configure syslog',
    'access arguments' => array(
      'audit_log_syslog_admin',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'audit_log_syslog_settings',
    ),
    'file' => 'audit_log_syslog.admin.inc',
  );
  return $items;
}