You are here

function _theme_save_registry in Drupal 7

Same name and namespace in other branches
  1. 6 includes/theme.inc \_theme_save_registry()

Writes the theme_registry cache into the database.

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

File

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