You are here

public function Condition::isReverse in Business Rules 8

Same name and namespace in other branches
  1. 2.x 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 111

Class

Condition
Defines the Condition entity.

Namespace

Drupal\business_rules\Entity

Code

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