registry_rebuild

Versions
mediamosa-21
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

▾ 3 functions call registry_rebuild()

drupal_flush_all_caches in includes/common.inc
Flush all cached data on the site.
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.

Code

includes/bootstrap.inc, line 2441

<?php
function registry_rebuild() {
  system_rebuild_module_data();
  registry_update();
}
?>