public function MenuPositionRule::setEnabled in Menu Position 8
Sets the status menu position rule.
Parameters
bool $enabled: The status of the menu position rule.
Overrides MenuPositionRuleInterface::setEnabled
File
- src/
Entity/ MenuPositionRule.php, line 200
Class
- MenuPositionRule
- Defines the MenuPositionRule entity.
Namespace
Drupal\menu_position\EntityCode
public function setEnabled($enabled) {
$this->enabled = $enabled;
}