You are here

protected static function Toolbar::breakpointManager in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/toolbar/src/Element/Toolbar.php \Drupal\toolbar\Element\Toolbar::breakpointManager()

Wraps the breakpoint manager.

Return value

\Drupal\breakpoint\BreakpointManagerInterface

File

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

Class

Toolbar
Provides a render element for the default Drupal toolbar.

Namespace

Drupal\toolbar\Element

Code

protected static function breakpointManager() {
  return \Drupal::service('breakpoint.manager');
}