You are here

public function LanguageSelectionPageConditionBase::evaluate in Language Selection Page 8.2

Evaluates the condition and returns TRUE or FALSE accordingly.

Return value

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

Overrides ConditionInterface::evaluate

11 methods override LanguageSelectionPageConditionBase::evaluate()
LanguageSelectionPageConditionBlacklistedPaths::evaluate in src/Plugin/LanguageSelectionPageCondition/LanguageSelectionPageConditionBlacklistedPaths.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageSelectionPageConditionIgnoreNeutral::evaluate in src/Plugin/LanguageSelectionPageCondition/LanguageSelectionPageConditionIgnoreNeutral.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageSelectionPageConditionIndexPhp::evaluate in src/Plugin/LanguageSelectionPageCondition/LanguageSelectionPageConditionIndexPhp.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageSelectionPageConditionLanguagePrefixes::evaluate in src/Plugin/LanguageSelectionPageCondition/LanguageSelectionPageConditionLanguagePrefixes.php
Evaluates the condition and returns TRUE or FALSE accordingly.
LanguageSelectionPageConditionMethodIsValid::evaluate in src/Plugin/LanguageSelectionPageCondition/LanguageSelectionPageConditionMethodIsValid.php
Evaluates the condition and returns TRUE or FALSE accordingly.

... See full list

File

src/LanguageSelectionPageConditionBase.php, line 46

Class

LanguageSelectionPageConditionBase
Base class for language selection page condition.

Namespace

Drupal\language_selection_page

Code

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