Allow adding a class to programmatic menu items (e.g. standard.front_page)

Created on 25 February 2022, about 3 years ago
Updated 14 May 2024, 11 months ago

Problem/Motivation

If you try to add a class to the item provided by the Standard module, you cannot. /admin/structure/menu/link/standard.front_page/edit

The workaround is to disable that link and create a replacement link with the same settings.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

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.

  • 🇩🇪Germany Anybody Porta Westfalica

    This module is for menu_link_content I guess and won't work for programmatically created menu links?

    If possible this could be solved in a submodule perhaps, but is very different from what and how the module is currently implemented. Anyone who needs this feel free to create a MR. This is definitely a FR not a bug.

  • 🇩🇪Germany Anybody Porta Westfalica

    This module is for menu_link_content I guess and won't work for programmatically created menu links?

    If possible this could be solved in a submodule perhaps, but is very different from what and how the module is currently implemented. Anyone who needs this feel free to create a MR. This is definitely a FR not a bug.

Production build 0.71.5 2024