Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Toolbar.php

function 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\Element

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal