You are here

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\Entity

Code

public function setParent($parent) {
  $this->parent = $parent;
}