X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=inline;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FRouting%2FRouteFilterInterface.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FRouting%2FRouteFilterInterface.php;h=a0e122c1054faa772f5f58479ae7895701f2f25c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=a3ccb4486f7d636e48352918c8e17797d5457c7f;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Routing/RouteFilterInterface.php b/web/core/lib/Drupal/Core/Routing/RouteFilterInterface.php index a3ccb4486..a0e122c10 100644 --- a/web/core/lib/Drupal/Core/Routing/RouteFilterInterface.php +++ b/web/core/lib/Drupal/Core/Routing/RouteFilterInterface.php @@ -2,13 +2,18 @@ namespace Drupal\Core\Routing; -use Symfony\Cmf\Component\Routing\NestedMatcher\RouteFilterInterface as BaseRouteFilterInterface; use Symfony\Component\Routing\Route; +@trigger_error('\Drupal\Core\Routing\Enhancer\RouteFilterInterface is deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Instead, you should use \Drupal\Core\Routing\FilterInterface. See https://www.drupal.org/node/2894934', E_USER_DEPRECATED); + /** * A route filter service to filter down the collection of route instances. + * + * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, + * you should use \Drupal\Core\Routing\FilterInterface. + * See https://www.drupal.org/node/2894934 */ -interface RouteFilterInterface extends BaseRouteFilterInterface { +interface RouteFilterInterface extends FilterInterface { /** * Determines if the route filter applies to the given route.