Admin tabs are not present depending on the path

Created on 14 December 2022, over 2 years ago
Updated 14 May 2025, 3 days ago

Problem/Motivation

Depending on the path used to access the config page, the admin tabs are not present.

In general this is not a problem, because there is only an "Edit" tab, (and "Devel" tab on development). But when using layout builder overrides per entity, not having the "Layout" tab on the nominal way to access the config page is an UI issue.

Steps to reproduce

- Create a config page type, enable the language context.

- On the default view mode, enable Layout builder and "Allow each config page to have its layout customized.".

- On a website with 2 languages, create the config page in the two languages. So 2 different content entities will be created.

- On the default edit URL, see that there is no "Layout" tab.

See attached screenshots.

Ok on paths like:
- /admin/structure/config_pages/1
- /fr/admin/structure/config_pages/2
- /fr/admin/structure/config_pages/1 (almost ok, because here it is the config page content entity for english loaded in french context)

KO on paths like:
- /admin/structure/config_pages/test/edit
- /fr/admin/structure/config_pages/test/edit

Proposed resolution

Ensure tabs are displayed on the canonical path.

Remaining tasks

Create a MR.

User interface changes

Tabs will be added on canonical path.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

User interface

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024