You are here

function authcache_p13n_page_bottom_pre_render in Authenticated User Page Caching (Authcache) 7.2

Pre-render callback for the page_bottom region.

Related topics

1 string reference to 'authcache_p13n_page_bottom_pre_render'
authcache_p13n_preprocess_html in modules/authcache_p13n/authcache_p13n.module
Implements hook_preprocess_html().

File

modules/authcache_p13n/authcache_p13n.module, line 446
Provides methods for serving personalized content fragments.

Code

function authcache_p13n_page_bottom_pre_render($region) {
  foreach (authcache_p13n_get_settings() as $name => $element) {
    $region['authcache_setting'][$name] = array(
      '#theme' => 'authcache_p13n_setting',
    ) + $element;
  }
  foreach (authcache_p13n_get_assemblies() as $name => $params) {
    $region['authcache_assembly'][$name] = array(
      '#theme' => 'authcache_p13n_assembly',
      '#assembly' => $name,
      '#param' => $params,
    );
  }
  return $region;
}