Motivation

For the page_layout value it's common to alter/set it on a per route level. Atm there is no UI or mechanism in lupus_decoupled for that, it's only possible via custom code.

Typical use-case is switching it to some different site-layout on pages like layout-builder or canvas page, where you want more control over the layout than on other places where content is placed in some default layout.

Proposed resolution

* Add support for a per-route option to specify a custom layout easily (easier API-use)
* Add support for config, without UI, that allows to set a custom layout for route patterns. Use above mechanism to apply it. (config use for site-builders)

User interface changes

-

API changes

-

Data model changes

-

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fago created an issue. See original summary.

fago’s picture

Status: Active » Needs review

Should be all good now. Already tested on a real-life project.

  • fago committed 540552b3 on 2.x
    feat: #3605817 Ease setting custom page_layouts per route
    
    By: fago
    
fago’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.