From 82c4f92cc56660ce1f549712c5be62a206de10b4 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 25 Apr 2022 23:19:54 -0400 Subject: [PATCH] cmf removed from drupal 10 --- CRM/Utils/System/Drupal8.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index d52e4c457b..9793f30d79 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -419,8 +419,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { $kernel->preHandle($request); $container = $kernel->rebuildContainer(); // Add our request to the stack and route context. - $request->attributes->set(\Symfony\Cmf\Component\Routing\RouteObjectInterface::ROUTE_OBJECT, new \Symfony\Component\Routing\Route('')); - $request->attributes->set(\Symfony\Cmf\Component\Routing\RouteObjectInterface::ROUTE_NAME, ''); + $request->attributes->set(\Drupal\Core\Routing\RouteObjectInterface::ROUTE_OBJECT, new \Symfony\Component\Routing\Route('')); + $request->attributes->set(\Drupal\Core\Routing\RouteObjectInterface::ROUTE_NAME, ''); $container->get('request_stack')->push($request); $container->get('router.request_context')->fromRequest($request); -- 2.25.1