function ModuleHandler::resetImplementations

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

Overrides ModuleHandlerInterface::resetImplementations

2 calls to ModuleHandler::resetImplementations()
ModuleHandler::add in core/lib/Drupal/Core/Extension/ModuleHandler.php
Adds a module or profile to the list of currently active modules.
ModuleHandler::setModuleList in core/lib/Drupal/Core/Extension/ModuleHandler.php
Sets an explicit list of currently active modules.

File

core/lib/Drupal/Core/Extension/ModuleHandler.php, line 286

Class

ModuleHandler
Class that manages modules in a Drupal installation.

Namespace

Drupal\Core\Extension

Code

public function resetImplementations() {
    $this->alterEventListeners = [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.