You are here

function authcache_debug_excluded in Authenticated User Page Caching (Authcache) 7.2

Determines whether or not to collect debug info on the current request.

2 calls to authcache_debug_excluded()
authcache_debug_init in modules/authcache_debug/authcache_debug.module
Implements hook_authcache_cache_data_alter().
_authcache_debug_watchdog_enabled in modules/authcache_debug/authcache_debug.module
Return true when log-to-watchdog is enabled for the logged in user.

File

modules/authcache_debug/authcache_debug.module, line 203
Debug widget for Authcache.

Code

function authcache_debug_excluded() {
  $excluded =& drupal_static(__FUNCTION__, NULL);
  if (!isset($excluded)) {
    $result = module_invoke_all('authcache_debug_exclude');
    $excluded = count(array_filter($result)) > 0;
  }
  return $excluded;
}