Score:0

Drupal 10 Page Manager - how to define generic paths

in flag

I need to be able to handle multiple paths using Page Manager and its Layout Builder variant.

I didn't find any up-to-date answer to this question in other posts.

That works well when I create separate paths like: /base, /base/{level1}, /base/{level1}/{level2}.

The problem is that on each above page settings are exactly the same and I would like to handle it with just one page and its configuration. I simply would like to avoid having to modify each variant each time any change will be made to in layout builder.

Something like /base/% that will capture all routes starting from base, no matter what is the depth level of the URL.

Using just /base doesn't work, unfortunately.

What would be the best option to achieve that result (without resigning from Page Manager which is not an option at the moment)?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.