You are here

protected function TestPluginDependency::moduleHandler in Drupal 9

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

Wraps the module handler.

Return value

\Drupal\Core\Extension\ModuleHandlerInterface The module handler.

Overrides PluginDependencyTrait::moduleHandler

File

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

Class

TestPluginDependency

Namespace

Drupal\Tests\Core\Plugin

Code

protected function moduleHandler() {
  return $this->moduleHandler;
}