function _theme_set_registry

6.x theme.inc _theme_set_registry($registry)

Store the theme registry in memory.

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

File

drupal-6.x/includes/theme.inc, line 212
The theme system, which controls the output of Drupal.

Code

function _theme_set_registry($registry) {
  // Pass through for setting of static variable.
  return theme_get_registry($registry);
}