public function ConditionTestNoExistingType::evaluate in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestNoExistingType.php \Drupal\condition_test\Plugin\Condition\ConditionTestNoExistingType::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/ system/ tests/ modules/ condition_test/ src/ Plugin/ Condition/ ConditionTestNoExistingType.php, line 23
Class
- ConditionTestNoExistingType
- Provides a condition that has a no existing context.
Namespace
Drupal\condition_test\Plugin\ConditionCode
public function evaluate() {
return TRUE;
}