function _theme_save_registry

7.x theme.inc _theme_save_registry($theme, $registry)
6.x theme.inc _theme_save_registry($theme, $registry)

Writes the theme_registry cache into the database.

1 call to _theme_save_registry()
_theme_load_registry in drupal-7.x/includes/theme.inc
Gets the theme_registry cache; if it doesn't exist, builds it.

File

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

Code

function _theme_save_registry($theme, $registry) {
  cache_set("theme_registry:$theme->name", $registry);
}