You are here

function _theme_save_registry in Drupal 6

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

Write the theme_registry cache into the database.

1 call to _theme_save_registry()
_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 246
The theme system, which controls the output of Drupal.

Code

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