function _theme_save_registry

_theme_save_registry($theme, $registry)

Writes the theme_registry cache into the database.

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!theme.inc/function/_theme_save_registry/7.x