Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In #1847198: Update the structure returned by hook_toolbar() we finalized the API for hook_toolbar()
. We still have to decide how the pre-render and theme functions interact.
Some changes to consider (not necessarily a complete list):
- Remove
drupal_render_children()
fromtoolbar_pre_render()
. - Replace the
'#heading'
property of the tray with a property of the toolbar item. - Generally review the code.
Comments
Comment #8
nod_Don't remember what #2 refers to.
Comment #14
smustgrave CreditAttribution: smustgrave at Mobomo commentedClosing this as outdated as additional information was requested in #8 3 years ago.
If still a valid task please reopen addressing the point and updating issue summary following the default template.
Thanks!