drupal_rebuild_theme_registry
- Versions
- 6
drupal_rebuild_theme_registry()
Force the system to rebuild the theme registry; this should be called when modules are added to the system, or when a dynamic system needs to add more theme hooks.
Code
includes/theme.inc, line 242
<?php
function drupal_rebuild_theme_registry() {
cache_clear_all('theme_registry', 'cache', TRUE);
}
?>Login or register to post comments 