You are here

public function ModuleHandler::resetImplementations in Service Container 7

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

Resets the cached list of hook implementations.

Overrides ModuleHandlerInterface::resetImplementations

File

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

Class

ModuleHandler
Class that manages modules in a Drupal installation.

Namespace

Drupal\service_container\Extension

Code

public function resetImplementations() {
  $this->drupal7
    ->drupal_static_reset('module_implements');
}