You are here

protected static function Toolbar::moduleHandler in Drupal 9

Same name and namespace in other branches
  1. 8 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 drupal_render().

File

core/modules/toolbar/src/Element/Toolbar.php, line 112

Class

Toolbar
Provides a render element for the default Drupal toolbar.

Namespace

Drupal\toolbar\Element

Code

protected static function moduleHandler() {
  return \Drupal::moduleHandler();
}