You are here

public function BusinessRule::setEnabled in Business Rules 8

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

Set the enabled parameter.

Parameters

bool $status: Set the enabled status: true|false.

Overrides BusinessRuleInterface::setEnabled

File

src/Entity/BusinessRule.php, line 378

Class

BusinessRule
Defines the Rule entity.

Namespace

Drupal\business_rules\Entity

Code

public function setEnabled($status) {
  $this->status = $status;
}