function ModuleHandler::reload
Reloads all enabled modules.
Overrides ModuleHandlerInterface::reload
File
-
core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php, line 169
Class
- ModuleHandler
- Class that manages modules in a Drupal installation.
Namespace
Drupal\Core\ExtensionCode
public function reload() {
$this->loaded = FALSE;
$this->loadAll();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.