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