Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295131

Allow override the menu link titles at core.menu.static_menu_link_overrides.yml

$
0
0

Using the Menu UI page we can override some values of the menu links provided by modules, Those values are:

  • menu_name
  • parent
  • weight
  • expanded
  • enabled

But one important value is missing, the "title" field, I don't know if there is a technical reason why the title isn't overridable but seems something which might be useful, for instance #2838106: Standard profile: make "Home" menu link to <front> editable/deletable giving the user the ability to just edit the title would fix that issue and the same happens for any menu link provided by a contrib module.

In my next comment a patch with the change.

(This will require tests which I can provide as well but I just want to know first if there is a reason why the title wasn't between these values in first place I just fixed the tests to include this new key, so not sure if we need more tests.)


Viewing all articles
Browse latest Browse all 295131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>