function TestPluginDependency::setModuleHandler

File

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

Class

TestPluginDependency

Namespace

Drupal\Tests\Core\Plugin

Code

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

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