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