function authcache_enum_test_authcache_enum_anonymous_keys_alter in Authenticated User Page Caching (Authcache) 7.2
Implements hook_authcache_enum_anonymous_keys_alter()
File
- modules/
authcache_enum/ tests/ authcache_enum_test.module, line 19 - Stub module for Authcache Enum test.
Code
function authcache_enum_test_authcache_enum_anonymous_keys_alter(&$keys) {
if ($alter = HookStub::record(__FUNCTION__, func_get_args())) {
$keys = array_diff($keys, $alter['delete']);
$keys = array_merge($keys, $alter['insert']);
}
}