Skip to content
Snippets Groups Projects
Unverified Commit f966ce6e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3106654 by kiamlaluno: hook_toolbar() documentation still makes...

Issue #3106654 by kiamlaluno: hook_toolbar() documentation still makes reference to toolbar_pre_render()
parent dc86e91e
No related branches found
No related tags found
6 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards
......@@ -34,14 +34,14 @@
* - '#weight': Optional. Integer weight used for sorting toolbar items in
* administration bar area.
*
* This hook is invoked in toolbar_pre_render().
* This hook is invoked in Toolbar::preRenderToolbar().
*
* @return
* An array of toolbar items, keyed by unique identifiers such as 'home' or
* 'administration', or the short name of the module implementing the hook.
* The corresponding value is a render element of type 'toolbar_item'.
*
* @see toolbar_pre_render()
* @see \Drupal\toolbar\Element\Toolbar::preRenderToolbar()
* @ingroup toolbar_tabs
*/
function hook_toolbar() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment