public function ModuleHandler::reload in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::reload()
Reloads all enabled modules.
Overrides ModuleHandlerInterface::reload
1 call to ModuleHandler::reload()
- ModuleHandler::buildHookInfo in core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php - Builds hook_hook_info() information.
File
- core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php, line 150
Class
- ModuleHandler
- Class that manages modules in a Drupal installation.
Namespace
Drupal\Core\ExtensionCode
public function reload() {
$this->loaded = FALSE;
$this
->loadAll();
}