function _authcache_panels_pane_get_options in Authenticated User Page Caching (Authcache) 7.2
Return options for the given pane.
3 calls to _authcache_panels_pane_get_options()
- authcache_panels_panels_pane_content_alter in modules/
authcache_panels/ authcache_panels.module - Implements hook_panels_pane_content_alter().
- authcache_panels_pane_fragment in modules/
authcache_panels/ authcache_panels.module - Return fragment renderer for the given panel pane.
- authcache_panels_pane_fragment_enabled in modules/
authcache_panels/ authcache_panels.module - Return TRUE when a valid authcache configuration exists for the given pane.
File
- modules/
authcache_panels/ authcache_panels.module, line 80 - Authcache support for Panels.
Code
function _authcache_panels_pane_get_options($pane) {
if (!empty($pane->cache) && $pane->cache['method'] === 'authcache_panels') {
$settings = array();
if (!empty($pane->cache['settings']['authcache'])) {
$settings = $pane->cache['settings']['authcache'];
}
return $settings + authcache_p13n_config_defaults();
}
return FALSE;
}