_theme_save_registry

Versions
6 – 7
_theme_save_registry($theme, $registry)

Write the theme_registry cache into the database.

▾ 1 function calls _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.

Code

includes/theme.inc, line 233

<?php
function _theme_save_registry($theme, $registry) {
  cache_set("theme_registry:$theme->name", $registry);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.