Add option to show disabled menu items

Created on 22 December 2010, over 14 years ago
Updated 23 May 2023, almost 2 years ago

From time to time I'd like to create a display of a menu, usually for administrative purposes, that shows all menu items—even those that have been disabled. It would be most helpful to have a checkbox in a Menu Block's configuration to "Show disabled menu items".

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇺🇸United States traviscarden

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.

  • 🇮🇳India nikhil_110

    The above patch is applied successfully for Menu Block v8.x-1.x-dev.
    Attaching the screenshot for reference.

    Test Setps

    • Setup Drupal with Menu Block v8.x-1.x-dev
    • Enabled Menu Block and Go to Administration > Administration > Structure > Menus > Create menu and menu status is disabled.
    • Go to Administration > Administration > Structure > Block layout > Click the "Place block" button in the desired regionand Choose a block from the "Menus" category. In the form that appears, configure the Advanced options and enable tha Show hidden items from this tree. and then click the "Save block" button. CONFIGURING MENU BLOCKS
    • Go to Home page check disable menus.
Production build 0.71.5 2024