Is it possible to configure page path with a wildcard like .../% ?

Created on 23 February 2023, about 2 years ago
Updated 28 February 2023, about 2 years ago

Problem/Motivation

I tried to configure a page path using wildcards the way views does, like path/% where % could be anything, but that did not work. I understand we can use entity wildcards like {node} or {taxonomy_term} in our PM path, but why not to use more generic .../% like in views or .../* like in Block layout ? We could pass that wildcard argument to a views block placed by PM in the Content section, and Layout Builder could be in charge of overall page layout.

Steps to reproduce

Try to use a wildcard like path/% when configuring a page in Page Manager.

User interface changes

None.

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States calmforce

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

Comments & Activities

  • Issue created by @calmforce
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    I was just looking for exactly the same. In Drupal 7 it was possible using %node.
    While I think in Drupal 8+ it should be a standard, like for routes ({node} see routing docs β†’ ) I can't find any documentation how to do it.

    There are also some other issues on that topic.

Production build 0.71.5 2024