You are here

public function ConditionInterface::isMatched in Access Filter 8

Checks the current access is matched to the condition.

Parameters

\Symfony\Component\HttpFoundation\Request $request: A request instance.

Return value

bool Boolean TRUE if condition is matched or FALSE otherwise.

7 methods override ConditionInterface::isMatched()
AndCondition::isMatched in src/Plugin/AccessFilter/Condition/AndCondition.php
Checks the current access is matched to the condition.
CookieCondition::isMatched in src/Plugin/AccessFilter/Condition/CookieCondition.php
Checks the current access is matched to the condition.
OrCondition::isMatched in src/Plugin/AccessFilter/Condition/OrCondition.php
Checks the current access is matched to the condition.
PathCondition::isMatched in src/Plugin/AccessFilter/Condition/PathCondition.php
Checks the current access is matched to the condition.
ServerEnvironmentCondition::isMatched in src/Plugin/AccessFilter/Condition/ServerEnvironmentCondition.php
Checks the current access is matched to the condition.

... See full list

File

src/Plugin/ConditionInterface.php, line 40

Class

ConditionInterface
Provides an interface defining a filter condition.

Namespace

Drupal\access_filter\Plugin

Code

public function isMatched(Request $request);