You are here

public function TestConditionFalse::evaluate in Rules 8.3

Evaluates the condition and returns TRUE or FALSE accordingly.

Return value

bool TRUE if the condition has been met, FALSE otherwise.

Overrides RulesConditionBase::evaluate

File

tests/modules/rules_test/src/Plugin/Condition/TestConditionFalse.php, line 21

Class

TestConditionFalse
Provides an always-FALSE test condition.

Namespace

Drupal\rules_test\Plugin\Condition

Code

public function evaluate() {
  return FALSE;
}