interface FilterInterface

Same name in this branch
  1. 8.9.x core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface
Same name in other branches
  1. 9 core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface
  2. 9 core/lib/Drupal/Core/Routing/FilterInterface.php \Drupal\Core\Routing\FilterInterface
  3. 10 core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface
  4. 10 core/lib/Drupal/Core/Routing/FilterInterface.php \Drupal\Core\Routing\FilterInterface
  5. 11.x core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface
  6. 11.x core/lib/Drupal/Core/Routing/FilterInterface.php \Drupal\Core\Routing\FilterInterface

A route filter service to filter down the collection of route instances.

Hierarchy

  • interface \Drupal\Core\Routing\FilterInterface extends \Symfony\Cmf\Component\Routing\NestedMatcher\RouteFilterInterface

Expanded class hierarchy of FilterInterface

All classes that implement FilterInterface

2 files declare their use of FilterInterface
AcceptHeaderMatcher.php in core/modules/system/tests/modules/accept_header_routing_test/src/Routing/AcceptHeaderMatcher.php
ReadOnlyModeMethodFilter.php in core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php

File

core/lib/Drupal/Core/Routing/FilterInterface.php, line 10

Namespace

Drupal\Core\Routing
View source
interface FilterInterface extends RouteFilterInterface {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.