You are here

public function TestConditionTrue::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/TestConditionTrue.php, line 21

Class

TestConditionTrue
Provides an always-TRUE test condition.

Namespace

Drupal\rules_test\Plugin\Condition

Code

public function evaluate() {
  return TRUE;
}