public function MenuPositionRuleInterface::setMenuLink in Menu Position 8
Sets the menu item.
Return value
string The menu link id.
1 method overrides MenuPositionRuleInterface::setMenuLink()
- MenuPositionRule::setMenuLink in src/
Entity/ MenuPositionRule.php - Sets the menu item.
File
- src/
MenuPositionRuleInterface.php, line 108
Class
- MenuPositionRuleInterface
- Provides an interface defining a Example entity.
Namespace
Drupal\menu_positionCode
public function setMenuLink($menu_link);