Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / lib / Drupal / Core / Routing / RouteFilterInterface.php
index a3ccb4486f7d636e48352918c8e17797d5457c7f..a0e122c1054faa772f5f58479ae7895701f2f25c 100644 (file)
@@ -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.