Needs work
Project:
Toolbar
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jan 2020 at 07:01 UTC
Updated:
21 Sep 2026 at 11:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hardik_patel_12 commentedKindly review a new patch.
Comment #3
hardik_patel_12 commentedComment #4
kishor_kolekar commented@Hardik_Patel_12
#2 patch working for me LGTM added screenshot for review.
Thanks for the patch..!!
Comment #5
alexpottI think this issue needs some more consideration. Firstly this template is part of classy and stable and this change affects those templates too. So we need to make the same template change there. Also any custom themes that override this template could be affected so we need a change record.
It'd be great if a frontend framework manager could decide whether we want to do this though as these classes are also part of the javascript the toolbar uses and so in this case maybe the module is the best place for them.
Comment #6
lauriiiThis is one of the use cases where we probably want to keep the attributes in the preprocess function. Toolbar needs these for it to work properly, so generically people shouldn't make changes to these classes. As @alexpott pointed out, there's lots of themes out there that are overriding this template and would break as a result. Maybe the correct solution here would be to prefix these classes with
js-to make it clear that these are needed by Toolbar JavaScript?Comment #13
nikhil_110 commentedAdding the patch for Drupal 10.1.x.
no Interdiff because #2 patch fail to apply.
Comment #14
nitin shrivastava commentedTry to fix CCF ERROR
Comment #15
ricardofaria commented#14 works for me.
Comment #18
quietone commentedThe Toolbar Module was approved for removal in #3476882: [Policy] Move Toolbar module to contrib.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3484850: [meta] Tasks to deprecate Toolbar module and the removal work in #3488828: [meta] Tasks to remove Toolbar module.
Toolbar will be moved to a contributed project before Drupal 12.0.0 is released.
Comment #19
quietone commentedToolbar module has moved to contrib.