Store the theme registry in memory.

2 calls to _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.

File

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);
}