function ModuleHandler::reload

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::reload()
  2. 10 core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::reload()
  3. 11.x core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::reload()

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\Extension

Code

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.