function ModuleHandler::getImplementations
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::getImplementations()
Overrides ModuleHandlerInterface::getImplementations
2 calls to ModuleHandler::getImplementations()
- ModuleHandler::alter in core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php - Passes alterable variables to specific hook_TYPE_alter() implementations.
- ModuleHandler::invokeAll in core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php - Invokes a hook in all enabled modules that implement it.
File
-
core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php, line 327
Class
- ModuleHandler
- Class that manages modules in a Drupal installation.
Namespace
Drupal\Core\ExtensionCode
public function getImplementations($hook) {
$implementations = $this->getImplementationInfo($hook);
return array_keys($implementations);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.