protected function PluginDependencyTrait::moduleHandler in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php \Drupal\Core\Plugin\PluginDependencyTrait::moduleHandler()
Wraps the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module handler.
1 method overrides PluginDependencyTrait::moduleHandler()
- TestPluginDependency::moduleHandler in core/
tests/ Drupal/ Tests/ Core/ Plugin/ PluginDependencyTraitTest.php - Wraps the module handler.
File
- core/
lib/ Drupal/ Core/ Plugin/ PluginDependencyTrait.php, line 98
Class
- PluginDependencyTrait
- Provides a trait for calculating the dependencies of a plugin.
Namespace
Drupal\Core\PluginCode
protected function moduleHandler() {
return \Drupal::moduleHandler();
}