Commit ed45b4d5 authored by larowlan's avatar larowlan

Issue #2840257 by kiamlaluno: The documentation makes reference to a function that doesn't exist

parent 384a35ca
......@@ -152,10 +152,10 @@ function hook_toolbar() {
/**
* Alter the toolbar menu after hook_toolbar() is invoked.
*
* This hook is invoked by toolbar_view() immediately after hook_toolbar(). The
* toolbar definitions are passed in by reference. Each element of the $items
* array is one item returned by a module from hook_toolbar(). Additional items
* may be added, or existing items altered.
* This hook is invoked by Toolbar::preRenderToolbar() immediately after
* hook_toolbar(). The toolbar definitions are passed in by reference. Each
* element of the $items array is one item returned by a module from
* hook_toolbar(). Additional items may be added, or existing items altered.
*
* @param $items
* Associative array of toolbar menu definitions returned from hook_toolbar().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment