_theme_set_registry

Versions
6
_theme_set_registry($registry)
7
_theme_set_registry($registry = NULL)

Store the theme registry in memory.

▾ 2 functions call _theme_set_registry()

_theme_load_offline_registry in includes/theme.maintenance.inc
This builds the registry when the site needs to bypass any database calls.
_theme_load_registry in includes/theme.inc
Get the theme_registry cache from the database; if it doesn't exist, build it.

Code

includes/theme.inc, line 199

<?php
function _theme_set_registry($registry) {
  // Pass through for setting of static variable.
  return theme_get_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.