function authcache_preprocess in Authenticated User Page Caching (Authcache) 7.2
Same name and namespace in other branches
- 6 authcache.module \authcache_preprocess()
- 7 authcache.module \authcache_preprocess()
Implements hook_preprocess().
Inject authcache variables into every template.
Related topics
File
- ./
authcache.module, line 385 - Authenticated User Page Caching (and anonymous users, too!)
Code
function authcache_preprocess(&$variables, $hook) {
// Define variables for templates files.
$variables['authcache_is_cacheable'] = authcache_page_is_cacheable();
}