'Back to site' link fix on menu item page

Created on 14 August 2024, 3 months ago
Updated 20 August 2024, 3 months ago

Problem/Motivation

Currently, when editing a menu item, the 'Back to site' link redirects to the same edit page. This happens because menu items do not have a standalone view. The expected behavior should be similar to media items ((when not allowing media to be viewed standalone), where the link redirects to the front page.
Drupal version: 10.3.2
Gin theme version: 8.x-3.0-rc13

Steps to reproduce

  1. Go to a menu link edit page.
  2. Click on "Back to site".

Proposed resolution

The breadcrumb.theme would handle 'Back to site' link on menu link item page in the same way as media (when viewing stand-alone was disabled).

🐛 Bug report
Status

RTBC

Component

Code

Created by

🇮🇳India renukakulkarni

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024