You are here

public function AdministrationLanguageNegotiationConditionBase::evaluate in Administration Language Negotiation 8

Evaluates the condition and returns TRUE or FALSE accordingly.

Return value

bool TRUE if the condition has been met, FALSE otherwise.

Overrides ConditionInterface::evaluate

2 methods override AdministrationLanguageNegotiationConditionBase::evaluate()
AdminRoutes::evaluate in src/Plugin/AdministrationLanguageNegotiationCondition/AdminRoutes.php
Evaluates the condition and returns TRUE or FALSE accordingly.
Paths::evaluate in src/Plugin/AdministrationLanguageNegotiationCondition/Paths.php
Evaluates the condition and returns TRUE or FALSE accordingly.

File

src/AdministrationLanguageNegotiationConditionBase.php, line 34

Class

AdministrationLanguageNegotiationConditionBase
Base class for administration language administration condition.

Namespace

Drupal\administration_language_negotiation

Code

public function evaluate() {
  return $this
    ->execute();
}