function _agrcache_process_html in Aggregate cache 7
Replacement for template_process_html().
1 string reference to '_agrcache_process_html'
- agrcache_theme_registry_alter in ./
agrcache.module - Implements hook_theme_registry_alter().
File
- ./
agrcache.module, line 52 - Provides imagecache style generation of css/js aggregates.
Code
function _agrcache_process_html(&$variables) {
// Render page_top and page_bottom into top level variables.
$variables['page_top'] = drupal_render($variables['page']['page_top']);
$variables['page_bottom'] = drupal_render($variables['page']['page_bottom']);
// Place the rendered HTML for the page body into a top level variable.
$variables['page'] = $variables['page']['#children'];
$variables['page_bottom'] .= agrcache_get_js('footer');
$variables['head'] = drupal_get_html_head();
$variables['css'] = drupal_add_css();
$variables['styles'] = drupal_get_css();
$variables['scripts'] = agrcache_get_js();
}