function MenuForm::__construct
Same name and namespace in other branches
- 11.x core/modules/menu_ui/src/MenuForm.php \Drupal\menu_ui\MenuForm::__construct()
- 10 core/modules/menu_ui/src/MenuForm.php \Drupal\menu_ui\MenuForm::__construct()
- 9 core/modules/menu_ui/src/MenuForm.php \Drupal\menu_ui\MenuForm::__construct()
- 8.9.x core/modules/menu_ui/src/MenuForm.php \Drupal\menu_ui\MenuForm::__construct()
Constructs a MenuForm object.
Parameters
\Drupal\Core\Menu\MenuLinkManagerInterface $menuLinkManager: The menu link manager.
\Drupal\Core\Menu\MenuLinkTreeInterface $menuTree: The menu tree service.
\Drupal\Core\Utility\LinkGeneratorInterface $linkGenerator: The link generator.
\Drupal\menu_link_content\MenuLinkContentStorageInterface $menuLinkContentStorage: The menu link content storage handler.
File
-
core/
modules/ menu_ui/ src/ MenuForm.php, line 50
Class
- MenuForm
- Base form for menu edit forms.
Namespace
Drupal\menu_uiCode
public function __construct(protected MenuLinkManagerInterface $menuLinkManager, protected MenuLinkTreeInterface $menuTree, protected LinkGeneratorInterface $linkGenerator, protected MenuLinkContentStorageInterface $menuLinkContentStorage) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.