function drupal_rebuild_theme_registry

You are here

6 theme.inc 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.

4 calls to drupal_rebuild_theme_registry()
drupal_flush_all_caches in includes/common.inc
Flush all cached data on the site.
system_modules_submit in modules/system/system.admin.inc
Submit callback; handles modules form submission.
system_settings_form_submit in modules/system/system.module
Execute the system_settings_form.
system_themes_form_submit in modules/system/system.admin.inc
Process system_themes_form form submissions.

File

includes/theme.inc, line 255
The theme system, which controls the output of Drupal.

Code

function drupal_rebuild_theme_registry() {
  cache_clear_all('theme_registry', 'cache', TRUE);
}

Comments

The Drupal 7 version of this function is drupal_theme_rebuild().

If anyone can help....

I installed administration menu in order to run theme registry in drupal 6 as part of a tutorial.

Now the view info node information is on the front page. How do I disable it?

There is no setting in the themes or anywhere for that matter.

This is not a place for support questions. Please use the AM queue or the forums.