Updates for latest page_manager release 8.x-4.0-rc3

Created on 30 October 2024, about 2 months ago

Problem/Motivation

The latest page_manager release changed the page_manager_page and page_manager_page_variant route parameters to route defaults (_page_manager_page, _page_manager_page_variant) 🐛 Path has unnecessary query appended. Fixed . This means they aren't available anymore from the route match service like this:

$this->routeMatch->getParameter('page_manager_page_variant');

You now need to either pull the id from the route defaults and load the entity/object manually, OR you can grab the upcasted parameter from the request attributes like so:

$this->request->attributes->get('_page_manager_page_variant');

Patch incoming to do the latter!

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada drclaw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024