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\EntityCode
public function setLabel($label) {
$this->label = $label;
}