You are here

public function MenuPositionRule::setLabel in Menu Position 8

Sets the administrative title of the menu position rule.

Parameters

string $label: The administrative title of the menu position rule.

Overrides MenuPositionRuleInterface::setLabel

File

src/Entity/MenuPositionRule.php, line 193

Class

MenuPositionRule
Defines the MenuPositionRule entity.

Namespace

Drupal\menu_position\Entity

Code

public function setLabel($label) {
  $this->label = $label;
}