You are here

public function ModuleHandler::reload in Service Container 7.2

Same name and namespace in other branches
  1. 7 src/Extension/ModuleHandler.php \Drupal\service_container\Extension\ModuleHandler::reload()

Reloads all enabled modules.

Overrides ModuleHandlerInterface::reload

File

src/Extension/ModuleHandler.php, line 70
Contains Drupal\service_container\Extension\ModuleHandler.

Class

ModuleHandler
Class that manages modules in a Drupal installation.

Namespace

Drupal\service_container\Extension

Code

public function reload() {
  $this->drupal7
    ->module_load_all();
}