function ToolbarSettingsForm::create

Same name in other branches
  1. 5.x src/Form/ToolbarSettingsForm.php \Drupal\devel\Form\ToolbarSettingsForm::create()

Overrides ConfigFormBase::create

File

src/Form/ToolbarSettingsForm.php, line 40

Class

ToolbarSettingsForm
Configures devel toolbar settings.

Namespace

Drupal\devel\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.factory'), $container->get('menu.link_tree'));
}