You are here

public function BusinessRule::isEnabled in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Entity/BusinessRule.php \Drupal\business_rules\Entity\BusinessRule::isEnabled()

Returns TRUE if the BusinessRule is enabled and FALSE if not.

Return value

bool If the rule is enabled.

Overrides BusinessRuleInterface::isEnabled

File

src/Entity/BusinessRule.php, line 394

Class

BusinessRule
Defines the Rule entity.

Namespace

Drupal\business_rules\Entity

Code

public function isEnabled() {
  return $this->status;
}