protected function TestPluginDependency::moduleHandler in Drupal 9
Same name and namespace in other branches
- 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
Namespace
Drupal\Tests\Core\PluginCode
protected function moduleHandler() {
return $this->moduleHandler;
}