function Toolbar::moduleHandler
Same name in other branches
- 9 core/modules/toolbar/src/Element/Toolbar.php \Drupal\toolbar\Element\Toolbar::moduleHandler()
- 8.9.x core/modules/toolbar/src/Element/Toolbar.php \Drupal\toolbar\Element\Toolbar::moduleHandler()
- 10 core/modules/toolbar/src/Element/Toolbar.php \Drupal\toolbar\Element\Toolbar::moduleHandler()
Wraps the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface
1 call to Toolbar::moduleHandler()
- Toolbar::preRenderToolbar in core/
modules/ toolbar/ src/ Element/ Toolbar.php - Builds the Toolbar as a structured array ready for rendering.
File
-
core/
modules/ toolbar/ src/ Element/ Toolbar.php, line 109
Class
- Toolbar
- Provides a render element for the default Drupal toolbar.
Namespace
Drupal\toolbar\ElementCode
protected static function moduleHandler() {
return \Drupal::moduleHandler();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.