You are here

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

Same name and namespace in other branches
  1. 3.x src/Entity/RuleInterface.php \Drupal\rng\Entity\RuleInterface::setIsActive()

Set if the rule can be executed.

Parameters

bool $is_active: Whether the rule can be executed.

Return value

\Drupal\rng\Entity\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/Entity/RuleInterface.php, line 45

Class

RuleInterface
Provides an interface for event rule entities.

Namespace

Drupal\rng\Entity

Code

public function setIsActive($is_active);