_theme_load_offline_registry

Versions
6 – 7
_theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine = NULL)

This builds the registry when the site needs to bypass any database calls.

Code

includes/theme.maintenance.inc, line 76

<?php
function _theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine = NULL) {
  $registry = _theme_build_registry($theme, $base_theme, $theme_engine);
  _theme_set_registry($registry);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.