You are here

public function RuleInterface::check in Access Filter 8

Checks the current access by the rule.

Parameters

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

Return value

\Drupal\Core\Access\AccessResult The access result.

1 method overrides RuleInterface::check()
IpRule::check in src/Plugin/AccessFilter/Rule/IpRule.php
Checks the current access by the rule.

File

src/Plugin/RuleInterface.php, line 40

Class

RuleInterface
Provides an interface defining a filter rule.

Namespace

Drupal\access_filter\Plugin

Code

public function check(Request $request);