public function BaloneySpam::evaluate in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/tests/modules/block_test/src/Plugin/Condition/BaloneySpam.php \Drupal\block_test\Plugin\Condition\BaloneySpam::evaluate()
- 9 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 20
Class
- BaloneySpam
- Provides a 'baloney_spam' condition.
Namespace
Drupal\block_test\Plugin\ConditionCode
public function evaluate() {
return TRUE;
}