You are here

protected function TestFilteredPluginManager::moduleHandler in Drupal 9

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

Wraps the module handler.

Return value

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

Overrides FilteredPluginManagerTrait::moduleHandler

File

core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php, line 105

Class

TestFilteredPluginManager
Class that allows testing the trait.

Namespace

Drupal\Tests\Core\Plugin

Code

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