public function MenuPositionRule::getEnabled in Menu Position 8
Returns the status of the menu position rule.
Return value
bool The status of the menu position rule.
Overrides MenuPositionRuleInterface::getEnabled
1 call to MenuPositionRule::getEnabled()
- MenuPositionRule::isActive in src/
Entity/ MenuPositionRule.php - Evaluates all conditions attached to this rule and determines if this rule is "active" or not.
File
- src/
Entity/ MenuPositionRule.php, line 148
Class
- MenuPositionRule
- Defines the MenuPositionRule entity.
Namespace
Drupal\menu_position\EntityCode
public function getEnabled() {
return $this->enabled;
}