diff --git a/core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php b/core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php index 85f9e7a3a5..25debe0496 100644 --- a/core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php +++ b/core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php @@ -11,7 +11,7 @@ * A route enhance service to determine route enhance rules. * * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, - * you should use Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface. + * you should use \Drupal\Core\Routing\EnhancerInterface * See https://www.drupal.org/node/2894934 * Part of the deprecation means that applies() is now called on runtime instead * of compile time. diff --git a/core/lib/Drupal/Core/Routing/EnhancerInterface.php b/core/lib/Drupal/Core/Routing/EnhancerInterface.php new file mode 100644 index 0000000000..3ddee66752 --- /dev/null +++ b/core/lib/Drupal/Core/Routing/EnhancerInterface.php @@ -0,0 +1,12 @@ +