You are here

public function LanguageCookieConditionBase::evaluate in Language Cookie 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

9 methods override LanguageCookieConditionBase::evaluate()
LanguageCookieConditionBlacklistedPaths::evaluate in src/Plugin/LanguageCookieCondition/LanguageCookieConditionBlacklistedPaths.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageCookieConditionHardcodedBlacklistedPaths::evaluate in src/Plugin/LanguageCookieCondition/LanguageCookieConditionHardcodedBlacklistedPaths.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageCookieConditionIndexPhp::evaluate in src/Plugin/LanguageCookieCondition/LanguageCookieConditionIndexPhp.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageCookieConditionLanguageAccess::evaluate in src/Plugin/LanguageCookieCondition/LanguageCookieConditionLanguageAccess.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageCookieConditionMethodIsValid::evaluate in src/Plugin/LanguageCookieCondition/LanguageCookieConditionMethodIsValid.php
Evaluates the condition and returns TRUE or FALSE accordingly.

... See full list

File

src/LanguageCookieConditionBase.php, line 101

Class

LanguageCookieConditionBase
Base class for language cookie condition.

Namespace

Drupal\language_cookie

Code

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