Introduce tab expansion facility for local tasks that are based on configuration

Created on 14 December 2012, over 12 years ago
Updated 15 March 2025, 20 days ago

Spin-off from:
#1825044: Turn contact form submissions into full-blown Contact Message entities, without storage
Move simplified Profile module into core Closed: won't fix
#1067408: Themes do not have an installation status

Problem

  • Some modules are generating and registering multiple static routes derived from other data in hook_menu(), whereas a single dynamic route would be technically correct and sufficient.
  • These modules just need to display tabs/local tasks links that allow to reach the dynamic route, but have no simple way for doing so.

Goal

  • Introduce a tab expansion facility for local tasks that are based on configuration.

Proposed solution

  1. First, #1864066: Simplify hook_menu_local_tasks() and MENU_DEFAULT_LOCAL_TASK usage
  2. Extract the tab expansion code from the three issues mentioned above into the menu system and generalize it.
📌 Task
Status

Postponed: needs info

Version

11.0 🔥

Component

menu system

Created by

🇩🇪Germany sun Karlsruhe

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

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.

  • 🇺🇸United States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024