function authcache_cancel in Authenticated User Page Caching (Authcache) 7.2
Prevent this page of beeing stored in the cache after it is built up.
Related topics
10 calls to authcache_cancel()
- AuthcacheP13nTestMarkup::testRenderElement in modules/
authcache_p13n/ tests/ authcache_p13n.markup.test - Cover authcache_p13n_attach().
- authcache_canceled in ./
authcache.module - Return true if the caching was canceled during page-build.
- authcache_ensure_element_cacheable in ./
authcache.module - Post-render callback for render elements.
- authcache_exit in ./
authcache.module - Implements hook_exit().
- authcache_field_field_attach_view_alter in modules/
authcache_field/ authcache_field.module - Implements hook_field_attach_view_alter().
File
- ./
authcache.module, line 523 - Authenticated User Page Caching (and anonymous users, too!)
Code
function authcache_cancel($reason = NULL) {
$canceled =& drupal_static(__FUNCTION__, FALSE);
if (!$canceled && !empty($reason)) {
$canceled = TRUE;
module_invoke_all('authcache_canceled', $reason);
}
return $canceled;
}