You are here

public function BaloneySpam::evaluate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/tests/modules/block_test/src/Plugin/Condition/BaloneySpam.php \Drupal\block_test\Plugin\Condition\BaloneySpam::evaluate()

Evaluates the condition and returns TRUE or FALSE accordingly.

Return value

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

Overrides ConditionInterface::evaluate

File

core/modules/block/tests/modules/block_test/src/Plugin/Condition/BaloneySpam.php, line 26
Contains \Drupal\block_test\Plugin\Condition\BaloneySpam.

Class

BaloneySpam
Provides a 'baloney_spam' condition.

Namespace

Drupal\block_test\Plugin\Condition

Code

public function evaluate() {
  return TRUE;
}