function better_watchdog_ui_menu in Better Watchdog UI 7
Same name and namespace in other branches
- 8 better_watchdog_ui.module \better_watchdog_ui_menu()
- 7.3 better_watchdog_ui.module \better_watchdog_ui_menu()
- 7.2 better_watchdog_ui.module \better_watchdog_ui_menu()
Implements hook_menu().
File
- ./
better_watchdog_ui.module, line 31 - Provide views field and filter handlers, and allow bulk operations.
Code
function better_watchdog_ui_menu() {
$items[BETTER_WATCHDOG_UI_VIEW_PATH . '/clear'] = array(
'title' => 'Clear all log messages',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'better_watchdog_ui_clear_all_form',
),
'access arguments' => array(
'access site reports',
),
);
return $items;
}