function authcache_p13n_add_setting in Authenticated User Page Caching (Authcache) 7.2
Add a deferred setting to the page.
Related topics
7 calls to authcache_p13n_add_setting()
- AuthcacheP13nTestMarkup::testAddSettings in modules/
authcache_p13n/ tests/ authcache_p13n.markup.test - Cover authcache_p13n_add_setting() and authcache_p13n_get_settings().
- authcache_comment_node_view_alter in modules/
authcache_comment/ authcache_comment.module - Implements hook_comment_view_alter().
- authcache_forum_preprocess_forum_list in modules/
authcache_forum/ authcache_forum.module - Implements hook_preprocess_HOOK().
- authcache_forum_preprocess_forum_topic_list in modules/
authcache_forum/ authcache_forum.module - Implements hook_preprocess_HOOK().
- authcache_node_history_node_mark in modules/
authcache_node_history/ authcache_node_history.module - Returns marker replacemente for new or updated content.
File
- modules/
authcache_p13n/ authcache_p13n.module, line 394 - Provides methods for serving personalized content fragments.
Code
function authcache_p13n_add_setting($element = array()) {
$settings =& drupal_static(__FUNCTION__, array());
if ($element && !empty($element['#setting'])) {
$settings[] = array(
$element['#setting'] => $element,
);
}
return $settings;
}