You are here

function authcache_esi_debug_status in Authenticated User Page Caching (Authcache) 7.2

Page callback: Load ESI test via ajax.

1 string reference to 'authcache_esi_debug_status'
authcache_esi_debug_menu in modules/authcache_esi/authcache_esi_debug.module
Implements hook_menu().

File

modules/authcache_esi/authcache_esi_debug.module, line 49
Debug module for Authcache ESI markup generator.

Code

function authcache_esi_debug_status() {
  $url = url('authcache-esi-debug-status');
  drupal_add_js(drupal_get_path('module', 'authcache_esi_debug') . '/authcache_esi_debug.js');
  drupal_add_js(array(
    'authcacheEsiDebug' => $url,
  ), 'setting');
  return '<span id="authcache-esi-debug-table">Loading ESI test using Ajax...</span>';
}