You are here

function devel_toolbar in Devel 8

Same name and namespace in other branches
  1. 8.3 devel.module \devel_toolbar()
  2. 8.2 devel.module \devel_toolbar()
  3. 4.x devel.module \devel_toolbar()

Implements hook_toolbar().

File

./devel.module, line 107
This module holds functions useful for Drupal development. Please contribute!

Code

function devel_toolbar() {
  return \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(ToolbarHandler::class)
    ->toolbar();
}