function TestPluginDependency::moduleHandler

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php \Drupal\Tests\Core\Plugin\TestPluginDependency::moduleHandler()
  2. 8.9.x core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php \Drupal\Tests\Core\Plugin\TestPluginDependency::moduleHandler()
  3. 11.x 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 192

Class

TestPluginDependency

Namespace

Drupal\Tests\Core\Plugin

Code

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

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