You are here

function authcache_enum_anonymous_keys in Authenticated User Page Caching (Authcache) 7.2

Return a list of cache-keys used by anonymous users.

1 call to authcache_enum_anonymous_keys()
authcache_enum_keys in modules/authcache_enum/authcache_enum.module
Return a flat list of authcache keys and cache-keys used by anonymous users.
1 string reference to 'authcache_enum_anonymous_keys'
AuthcacheEnumKeysTestCase::testCustomAnonymousKeys in modules/authcache_enum/lib/Drupal/authcache_enum/Tests/AuthcacheEnumKeysTestCase.php
Test anonymous key customization.

File

modules/authcache_enum/authcache_enum.module, line 113
Provides methods for computing and enumerating authcache keys

Code

function authcache_enum_anonymous_keys() {
  $anonymous_keys =& drupal_static(__FUNCTION__);
  if (!isset($anonymous_keys)) {
    $anonymous_keys = module_invoke_all('authcache_enum_anonymous_keys');
    drupal_alter('authcache_enum_anonymous_keys', $anonymous_keys);
  }
  return $anonymous_keys;
}