You are here

public function MenuPositionRule::setMenuName in Menu Position 8

Sets the menu name.

Return value

string The menu name.

Overrides MenuPositionRuleInterface::setMenuName

File

src/Entity/MenuPositionRule.php, line 221

Class

MenuPositionRule
Defines the MenuPositionRule entity.

Namespace

Drupal\menu_position\Entity

Code

public function setMenuName($menu_name) {
  $this->menu_name = $menu_name;
}