- First commit to issue fork.
- π¬π§United Kingdom stephen-cox
It looks to me like the hook_toolbar_alter implementation was added as part of #3176679 β and has always contained the error causing this issue.
Added fix for this.
- Status changed to Needs review
over 1 year ago 4:34pm 3 November 2023 - π¨π¦Canada Liam Morland Ontario, CA π¨π¦
Liam Morland β made their first commit to this issueβs fork.
- Merge request !41Issue #3328200: Update hook_toolbar_alter so it doesn't remove previously added pre_render callbacks β (Open) created by Liam Morland
- π¨π¦Canada Liam Morland Ontario, CA π¨π¦
I made a merge request with patch #3.
- Assigned to jurgenhaas
- π¬π·Greece vensires
The change is simple and clean. Setting it as RTBC.
- Status changed to Needs work
3 months ago 3:34pm 26 December 2024 - π§πͺBelgium dieterholvoet Brussels
You still need to remove
Drupal\admin_toolbar\Render\Element\AdminToolbar::preRenderTray()
, otherwise the whole administration menu is built twice, which is a waste of time and resources. - π¬π·Greece vensires
I wonder whether this is in the scope of this issue...
I did update the issue summary with your remarks though. - π§πͺBelgium dieterholvoet Brussels
Of course it is, because if youβre committing the MR as it is now youβre introducing a performance issue. Itβs not a difficult problem to fix.