You are here

function watchdog_prune_menu in Watchdog Prune 7

Implements hook_menu

File

./watchdog_prune.module, line 12
This is the main module file for watchdog_prune.

Code

function watchdog_prune_menu() {
  $items = array();
  $items['admin/config/development/watchdog-prune'] = array(
    'title' => 'Watchdog Prune settings',
    'description' => 'This module allows you to delete watchdog entries, on cron run, based on certain criteria (like age or watchdog entry types)',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'watchdog_prune_admin_config_form',
    ),
    'access arguments' => array(
      'administer watchdog_prune',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}