function authcache_test_authcache_request_exclude in Authenticated User Page Caching (Authcache) 7.2
Implements hook_authcache_request_exclude().
2 string references to 'authcache_test_authcache_request_exclude'
- AuthcachePolicyTestCase::testExcludeCancelHooks in ./
authcache.test - Test API for exclusion and cancelation.
- AuthcacheWebTestCase::resetTestVariables in ./
authcache.test - Reset the variables used for communicating to authcache_test module.
File
- tests/
authcache_test.module, line 341 - Mock module to aid in testing authcache.module.
Code
function authcache_test_authcache_request_exclude() {
if ($reason = variable_get('authcache_test_authcache_request_exclude')) {
return t('Trigger request exclude: @reason', array(
'@reason' => $reason,
));
}
}