function theme_authcache_p13n_fragment__authcache_esi in Authenticated User Page Caching (Authcache) 7.2
Theme function for personalization fragment retrieved using an ESI include.
File
- modules/
authcache_esi/ authcache_esi.module, line 51 - Authcache ESI markup generator.
Code
function theme_authcache_p13n_fragment__authcache_esi($variables) {
$url = $variables['url'];
if ($url) {
drupal_add_http_header('X-Authcache-Do-ESI', 1);
$attrs = array(
'src' => url($url['path'], $url['options']),
);
return '<esi:include ' . drupal_attributes($attrs) . '/>';
}
}