You are here

function hook_authcache_debug_info_alter in Authenticated User Page Caching (Authcache) 7.2

Alter debug information before its being stored.

See also

hook_authcache_debug_info()

1 invocation of hook_authcache_debug_info_alter()
_authcache_debug_shutdown in modules/authcache_debug/authcache_debug.module
Shutdown function for saving debug info.

File

modules/authcache_debug/authcache_debug.api.php, line 42
API documentation for hooks exposed by Authcache Debug.

Code

function hook_authcache_debug_info_alter(&$debuginfo) {

  // Remove potentially sensitive data form debug info widget.
  unset($debuginfo['Cache User']);
  unset($debuginfo['Cache Users']);
}