From: demeritcowboy Date: Tue, 26 Apr 2022 03:19:54 +0000 (-0400) Subject: cmf removed from drupal 10 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=82c4f92cc56660ce1f549712c5be62a206de10b4;p=civicrm-core.git cmf removed from drupal 10 --- 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);