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.
If we were using code names for our releases this one will be named proudly "Community empowers Toolbar". This release features bug fixes, new features and API changes all reported, suggested, coded by the community. Thank you !
Important API changes has been introduced, please update your code if you make calls to Toolbar API before upgrading.
What's new
API changes
by hadsie, dankh : _toolbar_set_user_toolbar renamed to toolbar_set_user_toolbar in respect to public function naming conventions,
by hadsie, dankh : _toolbar_create renamed to toolbar_create in respect to public function naming conventions,
by dankh: due to #936946 toolbar_set_user_toolbar requires toolbar name for first parameter not toolbar array,
#946658 by ldweeks, hadsie, dankh : Added programmatically set the toolbar role. New API function introduced toolbar_set_role_toolbar .
New features
#936946 by sgabe, lelizondo, dankh : Added option to disable toolbar per user.
Bug fixes
#939968 by hadsie, dankh : Fixed shortcuts fails with aliases,
Toolbar is getting rock solid. This is one line fix for the annoying "Call-time pass-by-reference..." warning message. Upgrading is recommended for those of you who have this warning.
Due to the important re-factoring (merge of Toolbar and Toolbar Shortcuts modules) there is no upgrade path from previous versions (6.x-2.1-alpha3 including). You should :
Export all toolbars
Completely remove Toolbar and Toolbar Shortcuts modules
All menu links created by the toolbar module are deleted on uninstall.
On install create a default set
Create a shortcut in the default set on installation of this module
User=1 gets assigned to the default set on installation
Documentation
Fixed error in docs in function toolbar_shortcuts_set_assign_user()
Help Me
Problem with permissions. When not seeing the toolbar, a message showed up saying 'No help available for this page'
Complete rewrite of the module. Use and test this version. Please, uninstall the previous version, not just disable, uninstall before installing this module.