public MenuLinkFormInterface::setMenuLinkInstance(MenuLinkInterface $menu_link)
Injects the menu link plugin instance.
Parameters
\Drupal\Core\Menu\MenuLinkInterface $menu_link: A 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\Form
Code
public function setMenuLinkInstance(MenuLinkInterface $menu_link);
Please login to continue.