You are here

public function RuleInterface::setIsActive in RNG - Events and Registrations 8

Set if the rule can be executed.

Parameters

bool $is_active: Whether the rule can be executed.

Return value

\Drupal\rng\RuleInterface Return this object for chaining.

1 method overrides RuleInterface::setIsActive()
Rule::setIsActive in src/Entity/Rule.php
Set if the rule can be executed.

File

src/RuleInterface.php, line 45

Class

RuleInterface
Provides an interface for event rule entities.

Namespace

Drupal\rng

Code

public function setIsActive($is_active);