function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.