function TestConditionPluginBase::evaluate
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Condition/ConditionPluginBaseTest.php \Drupal\Tests\Core\Condition\TestConditionPluginBase::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/
tests/ Drupal/ Tests/ Core/ Condition/ ConditionPluginBaseTest.php, line 60
Class
- TestConditionPluginBase
- Concrete condition plugin for testing.
Namespace
Drupal\Tests\Core\ConditionCode
public function evaluate() : bool {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.