You are here

public function ModuleHandler::reload in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 147
Contains \Drupal\Core\Extension\ModuleHandler.

Class

ModuleHandler
Class that manages modules in a Drupal installation.

Namespace

Drupal\Core\Extension

Code

public function reload() {
  $this->loaded = FALSE;
  $this
    ->loadAll();
}