public function MenuPositionRule::setMenuLink in Menu Position 8
Sets the menu item.
Return value
string The menu link id.
Overrides MenuPositionRuleInterface::setMenuLink
File
- src/
Entity/ MenuPositionRule.php, line 214
Class
- MenuPositionRule
- Defines the MenuPositionRule entity.
Namespace
Drupal\menu_position\EntityCode
public function setMenuLink($menu_link) {
$this->menu_link = $menu_link;
}