public function RequestPathExclusion::evaluate in Context 8
Same name and namespace in other branches
- 8.4 src/Plugin/Condition/RequestPathExclusion.php \Drupal\context\Plugin\Condition\RequestPathExclusion::evaluate()
Evaluates the condition and returns TRUE or FALSE accordingly.
Return value
bool TRUE if the condition has been met, FALSE otherwise.
Overrides RequestPath::evaluate
File
- src/
Plugin/ Condition/ RequestPathExclusion.php, line 33
Class
- RequestPathExclusion
- Provides a 'Request path exclusion' condition.
Namespace
Drupal\context\Plugin\ConditionCode
public function evaluate() {
return !parent::evaluate();
}