function _theme_save_registry

Write the theme_registry cache into the database.

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

File

drupal/core/includes/theme.inc, line 349
The theme system, which controls the output of Drupal.

Code

function _theme_save_registry($theme, $registry) {
  cache()
    ->set("theme_registry:{$theme->name}", $registry, CacheBackendInterface::CACHE_PERMANENT, array(
    'theme_registry' => TRUE,
  ));
}