hook_toolbar() contains two references to toolbar_pre_render(), a function the Toolbar module doesn't implement anymore.
This hook is invoked in toolbar_pre_render().
See also
toolbar_pre_render()
Instead of toolbar_pre_render(), the references should be to Toolbar::preRenderToolbar(), the function that effectively invokes the hook.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupal-remove-a-reference-to-a-not-existing-function-3106654-2.patch | 853 bytes | avpaderno |
Comments
Comment #2
avpadernoI verified the core/modules/toolbar/toolbar.api.php didn't contain other references to that function.
Comment #3
naresh_bavaskarComment #4
pandaski commentedThis hook is invoked by Toolbar::preRenderToolbar() - match line 155 toolbar.api.php
Comment #5
avpadernoComment #6
longwaveLooks good to me.
Comment #7
alexpottCommitted and pushed f966ce6eaf to 9.0.x and 403f13dd93 to 8.9.x and 17507cc131 to 8.8.x. Thanks!
Backported to 8.8.x as a docs fix.
Classes in @see need the leading slash or applications like PHPStorm can't link up it up correctly. Fixed on commit.