Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Feb 2013 at 10:54 UTC
Updated:
29 Jul 2014 at 21:56 UTC
Jump to comment: Most recent file

Comments
Comment #1
gábor hojtsyComment #2
Bojhan commentedScreenshot of solution? removing it completely?
Comment #3
gábor hojtsyYeah, the solution starts the form with the Description field, no machine name displayed when not editable.
Comment #4
sunNitpick: Since the entire usage is negated, would it make sense to rename the variable to $is_custom_menu?
Comment #5
gábor hojtsySure, that works too.
Comment #6
gábor hojtsyMade that suggested change.
Comment #7
sunThe #disabled condition right above the touched line could use the new !$is_custom_menu, too (this time, negated).
Comment #8
David_Rothstein commentedDuplicate of #945654: Default menus have hardcoded titles which cannot be edited?
My idea there was just to let the built-in menu labels be edited, and it seemed to work fine at the time (but it was a long time ago). I don't think there's any reason they shouldn't be editable.
Comment #9
Bojhan commentedMaybe this is a can of worms, but why cant you just edit this? I always thought that the title should be editable, and the machine name could be locked.
Comment #10
gábor hojtsyYeah so in #945654: Default menus have hardcoded titles which cannot be edited David proposes we make it editable (and properly inherit titles to the blocks). The use of the title inheritance is outdated (and currently not possible due to #1926736: Allow block titles to be automatically tied to the underlying object). So we can also just remove the #access line from the title and be done with it :)
Comment #11
gábor hojtsyAll right, marking as duplicate of #945654: Default menus have hardcoded titles which cannot be edited then.
Comment #11.0
gábor hojtsyExplain where this comes from.