You are here

function devel_debug_log_menu in Devel Debug Log 7

Implements hook_menu().

File

./devel_debug_log.module, line 11
Creates a page that shows debug messages.

Code

function devel_debug_log_menu() {
  $items['admin/reports/debug'] = array(
    'title' => 'Debug messages',
    'description' => 'View debug messages.',
    'page callback' => 'devel_debug_log_page',
    'access arguments' => array(
      'access devel information',
    ),
  );
  $items['devel-debug-log/callback'] = array(
    'title' => 'Debug messages callback',
    'page callback' => 'devel_debug_log_callback',
    'access arguments' => array(
      'access devel information',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}