function MenuLinkFormInterface::setMenuLinkInstance
Injects the menu link plugin instance.
Parameters
\Drupal\Core\Menu\MenuLinkInterface $menu_link: A menu link plugin instance.
1 method overrides MenuLinkFormInterface::setMenuLinkInstance()
- MenuLinkDefaultForm::setMenuLinkInstance in core/lib/ Drupal/ Core/ Menu/ Form/ MenuLinkDefaultForm.php 
- Injects the menu link plugin instance.
File
- 
              core/lib/ Drupal/ Core/ Menu/ Form/ MenuLinkFormInterface.php, line 25 
Class
- MenuLinkFormInterface
- Defines an interface for edit forms of menu links.
Namespace
Drupal\Core\Menu\FormCode
public function setMenuLinkInstance(MenuLinkInterface $menu_link);Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
