You are here

public function RequestPathExclusion::evaluate in Context 8

Same name and namespace in other branches
  1. 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\Condition

Code

public function evaluate() {
  return !parent::evaluate();
}