public function ToolbarSettingsForm::__construct in Devel 8
Same name and namespace in other branches
- 8.3 src/Form/ToolbarSettingsForm.php \Drupal\devel\Form\ToolbarSettingsForm::__construct()
- 8.2 src/Form/ToolbarSettingsForm.php \Drupal\devel\Form\ToolbarSettingsForm::__construct()
- 4.x src/Form/ToolbarSettingsForm.php \Drupal\devel\Form\ToolbarSettingsForm::__construct()
ToolbarSettingsForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Menu\MenuLinkTreeInterface $menu_link_tree: The menu link tree service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ToolbarSettingsForm.php, line 32
Class
- ToolbarSettingsForm
- Configures devel toolbar settings.
Namespace
Drupal\devel\FormCode
public function __construct(ConfigFactoryInterface $config_factory, MenuLinkTreeInterface $menu_link_tree) {
parent::__construct($config_factory);
$this->menuLinkTree = $menu_link_tree;
}