function authcache_debug_menu in Authenticated User Page Caching (Authcache) 7.2
Implements hook_menu().
File
- modules/
authcache_debug/ authcache_debug.module, line 15 - Debug widget for Authcache.
Code
function authcache_debug_menu() {
$items['admin/config/system/authcache/debug'] = array(
'title' => 'Debug',
'description' => "Configure debug settings.",
'page callback' => 'drupal_get_form',
'page arguments' => array(
'authcache_debug_admin',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'authcache_debug.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 20,
);
$items['authcache-debug/ajax/%authcache_debug_info'] = array(
'page callback' => 'authcache_debug_info_ajax_get',
'page arguments' => array(
2,
),
'access callback' => 'authcache_debug_access',
'type' => MENU_CALLBACK,
);
return $items;
}