function ToolbarHandler::create
Same name in other branches
- 5.x src/ToolbarHandler.php \Drupal\devel\ToolbarHandler::create()
Overrides ContainerInjectionInterface::create
File
-
src/
ToolbarHandler.php, line 63
Class
- ToolbarHandler
- Toolbar integration handler.
Namespace
Drupal\develCode
public static function create(ContainerInterface $container) {
return new static($container->get('toolbar.menu_tree'), $container->get('config.factory'), $container->get('current_user'));
}