function authcache_esi_debug_menu in Authenticated User Page Caching (Authcache) 7.2
Implements hook_menu().
File
- modules/
authcache_esi/ authcache_esi_debug.module, line 10 - Debug module for Authcache ESI markup generator.
Code
function authcache_esi_debug_menu() {
$items['admin/reports/authcache-esi-debug-status'] = array(
'title' => 'Authcache ESI status',
'description' => 'Test ESI support of the server environment.',
'page callback' => 'authcache_esi_debug_status',
'access arguments' => array(
'authcache esi debug',
),
'type' => MENU_NORMAL_ITEM,
);
$items['authcache-esi-debug-status'] = array(
'title' => 'Authcache ESI status table',
'page callback' => 'authcache_esi_debug_status_table',
'access arguments' => array(
'authcache esi debug',
),
'type' => MENU_CALLBACK,
);
$items['authcache-esi-debug-status/fragment'] = array(
'title' => 'Authcache ESI status fragment',
'page callback' => 'authcache_esi_debug_status_fragment',
'access arguments' => array(
'authcache esi debug',
),
'type' => MENU_CALLBACK,
);
return $items;
}