watchdog_menu
- Versions
- 4.6 – 5
watchdog_menu($may_cache)
Implementation of hook_menu().
Code
modules/watchdog.module, line 29
<?php
function watchdog_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array('path' => 'admin/logs', 'title' => t('logs'),
'callback' => 'watchdog_overview', 'access' => user_access('administer watchdog'));
$items[] = array('path' => 'admin/logs/event', 'title' => t('details'),
'callback' => 'watchdog_event', 'access' => user_access('administer watchdog'),
'type' => MENU_CALLBACK);
}
return $items;
}
?>Login or register to post comments 