You are here

function authcache_panels_pane_fragment_enabled in Authenticated User Page Caching (Authcache) 7.2

Return TRUE when a valid authcache configuration exists for the given pane.

2 calls to authcache_panels_pane_fragment_enabled()
authcache_panels_panels_pane_content_alter in modules/authcache_panels/authcache_panels.module
Implements hook_panels_pane_content_alter().
_authcache_panels_page_manager_collect_fragments_from_handlers in modules/authcache_panels_page_manager/authcache_panels_page_manager.module
Utility function: produce fragments from page manager handler.

File

modules/authcache_panels/authcache_panels.module, line 10
Authcache support for Panels.

Code

function authcache_panels_pane_fragment_enabled($pane) {
  $config = _authcache_panels_pane_get_options($pane);
  $fragment_id = authcache_panels_pane_fragment_id($pane);
  return !empty($config['status']) && $fragment_id;
}