function 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;
}

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