registry_rebuild

Versions
7
registry_rebuild()

Rescan all enabled modules and rebuild the registry.

Rescans all code in modules or includes directories, storing the location of each interface or class in the database.

Related topics

▾ 6 functions call registry_rebuild()

drupal_flush_all_caches in includes/common.inc
Flush all cached data on the site.
module_disable in includes/module.inc
Disable a given set of modules.
module_enable in includes/module.inc
Enable a given list of modules.
simpletest_clean_environment in modules/simpletest/simpletest.module
Remove all temporary database tables and directories.
system_modules_submit in modules/system/system.admin.inc
Submit callback; handles modules form submission.
system_update_7006 in modules/system/system.install
Registry tables and drop the file key of the menu router, since it is no longer needed.

Code

includes/bootstrap.inc, line 2083

<?php
function registry_rebuild() {
  require_once DRUPAL_ROOT . '/includes/registry.inc';
  _registry_rebuild();
}
?>
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.