function authcache_test_authcache_cancel in Authenticated User Page Caching (Authcache) 7.2
Implements hook_authcache_cancel().
2 string references to 'authcache_test_authcache_cancel'
- 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 369 - Mock module to aid in testing authcache.module.
Code
function authcache_test_authcache_cancel() {
if ($reason = variable_get('authcache_test_authcache_cancel')) {
return t('Trigger cancelation: @reason', array(
'@reason' => $reason,
));
}
}