You are here

public function TestPluginDependency::setModuleHandler in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php \Drupal\Tests\Core\Plugin\TestPluginDependency::setModuleHandler()

File

core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php, line 212

Class

TestPluginDependency

Namespace

Drupal\Tests\Core\Plugin

Code

public function setModuleHandler(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}