function Toolbar::breakpointManager

Same name in other branches
  1. 8.9.x core/modules/toolbar/src/Element/Toolbar.php \Drupal\toolbar\Element\Toolbar::breakpointManager()
  2. 10 core/modules/toolbar/src/Element/Toolbar.php \Drupal\toolbar\Element\Toolbar::breakpointManager()
  3. 11.x 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.