You are here

function authcache_element_is_cacheable in Authenticated User Page Caching (Authcache) 7.2

Return TRUE when the given render element is cacheable.

Related topics

7 calls to authcache_element_is_cacheable()
authcache_comment_form_comment_form_alter in modules/authcache_comment/authcache_comment.module
Implements hook_form_FORM_ID_alter().
authcache_commerce_form_commerce_cart_add_to_cart_form_alter in modules/authcache_commerce/authcache_commerce.module
Implements hook_form_FORM_ID_alter().
authcache_ensure_element_cacheable in ./authcache.module
Post-render callback for render elements.
authcache_menu_preprocess_page in modules/authcache_menu/authcache_menu.module
Implements hook_preprocess_page().
authcache_menu_preprocess_toolbar in modules/authcache_menu/authcache_menu.module
Implements hook_preprocess_toolbar().

... See full list

File

./authcache.module, line 465
Authenticated User Page Caching (and anonymous users, too!)

Code

function authcache_element_is_cacheable($element) {
  return !empty($element['#authcache_is_cacheable']);
}