You are here

public function MenuPositionRuleInterface::setEnabled in Menu Position 8

Sets the status menu position rule.

Parameters

bool $enabled: The status of the menu position rule.

1 method overrides MenuPositionRuleInterface::setEnabled()
MenuPositionRule::setEnabled in src/Entity/MenuPositionRule.php
Sets the status menu position rule.

File

src/MenuPositionRuleInterface.php, line 90

Class

MenuPositionRuleInterface
Provides an interface defining a Example entity.

Namespace

Drupal\menu_position

Code

public function setEnabled($enabled);