Problem/Motivation
@todo in menu.inc template_preprocess_menu_tree() to Remove backwards compatibility for $heading['class'].
Proposed resolution
Remove backwards compatibility for $heading['class'].
Remaining tasks
- expand on the motivation, what benefit is there to removing backward compatibility?
- make a first attempt at it (Novice)
User interface changes
No.
API changes
No?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | remove_backwards-2310341-5.patch | 700 bytes | ilkkave |
Comments
Comment #1
lanchez commentedThis was suggested to be done in another issue. I created a patch here https://www.drupal.org/node/2285493#comment-9102829 so let's see what happens.
Comment #2
lauriii#2285493: Remove deprecated 'class' property from #theme 'links' and #theme 'menu_tree' heading arrays
Comment #3
lauriiiI was wrong. This one wasn't duplicate for #2285493: Remove deprecated 'class' property from #theme 'links' and #theme 'menu_tree' heading arrays.
Comment #4
lauriiiComment #5
ilkkave commentedComment #6
joelpittetThanks you @ilkkave.
I double checked through core and we aren't using ['header']['class'] anywhere.(in various iterations of that combo).
I think this needs a small change record, but I'll let a core committer be the judge on that one.
Comment #7
alexpottI don't think the removal of this requires a CR - too minor a change.
Committed 34cce8d and pushed to 8.0.x. Thanks!