You are here

public function Condition::isReverse in Business Rules 2.x

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

If it's a reverse condition (NOT).

Return value

bool If the condition is reverse.

Overrides ConditionInterface::isReverse

File

src/Entity/Condition.php, line 135

Class

Condition
Defines the Condition entity.

Namespace

Drupal\business_rules\Entity

Code

public function isReverse() {
  return (bool) $this->reverse;
}