Problem/Motivation

While experimenting with #3633010: Add landing pages, I have noticed than display_builder_ui has /admin/structure/display-builder/{profile}, so a profile with the ID "preset", "instances" and "add" could no longer be reached at its edit URL.

Proposed resolution

Move /admin/structure/display-builder/{profile} to /admin/structure/display-builder/profile/{profile}

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

pdureau created an issue. See original summary.

pdureau’s picture

Assigned: pdureau » Unassigned
Status: Active » Needs review

mogtofu33 made their first commit to this issue’s fork.

mogtofu33’s picture

Assigned: Unassigned » pdureau

Presets had the same collision: a preset with the ID add could not reach its edit form, because /admin/structure/display-builder/preset/add is the add form.

So I fixed both in the 3642812-path-manage branch, on top of your commit.

Both now use manage, as core does for config entities: /admin/structure/display-builder/manage/{display_builder_profile} and /admin/structure/display-builder/preset/manage/{pattern_preset}.

mogtofu33’s picture

Title: Update profile edit form path » Move profile and preset edit paths under manage
pdureau’s picture

Assigned: pdureau » mogtofu33
Status: Needs review » Reviewed & tested by the community

  • mogtofu33 committed 007f3a78 on 1.0.x
    task: #3642812 Move profile and preset edit paths under manage
    
    By:...
mogtofu33’s picture

Assigned: mogtofu33 » Unassigned
Status: Reviewed & tested by the community » Fixed

Thanks.

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.