You are here

public function BusinessRuleInterface::setEnabled in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/BusinessRuleInterface.php \Drupal\business_rules\BusinessRuleInterface::setEnabled()

Set the enabled parameter.

Parameters

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

1 method overrides BusinessRuleInterface::setEnabled()
BusinessRule::setEnabled in src/Entity/BusinessRule.php
Set the enabled parameter.

File

src/BusinessRuleInterface.php, line 187

Class

BusinessRuleInterface
Provides an interface for defining Rule entities.

Namespace

Drupal\business_rules

Code

public function setEnabled($status);