function authcache_test_authcache_preclude in Authenticated User Page Caching (Authcache) 7.2
Implements hook_authcache_preclude().
2 string references to 'authcache_test_authcache_preclude'
- AuthcachePolicyTestCase::testPreclusionRules in ./
authcache.test - Test preclusion rules.
- AuthcacheWebTestCase::resetTestVariables in ./
authcache.test - Reset the variables used for communicating to authcache_test module.
File
- tests/
authcache_test.module, line 388 - Mock module to aid in testing authcache.module.
Code
function authcache_test_authcache_preclude() {
if ($reason = variable_get('authcache_test_authcache_preclude')) {
return t('Trigger preclusion: @reason', array(
'@reason' => $reason,
));
}
}