Mercurial > hg > isophonics-drupal-site
comparison core/modules/toolbar/toolbar.api.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
150 } | 150 } |
151 | 151 |
152 /** | 152 /** |
153 * Alter the toolbar menu after hook_toolbar() is invoked. | 153 * Alter the toolbar menu after hook_toolbar() is invoked. |
154 * | 154 * |
155 * This hook is invoked by toolbar_view() immediately after hook_toolbar(). The | 155 * This hook is invoked by Toolbar::preRenderToolbar() immediately after |
156 * toolbar definitions are passed in by reference. Each element of the $items | 156 * hook_toolbar(). The toolbar definitions are passed in by reference. Each |
157 * array is one item returned by a module from hook_toolbar(). Additional items | 157 * element of the $items array is one item returned by a module from |
158 * may be added, or existing items altered. | 158 * hook_toolbar(). Additional items may be added, or existing items altered. |
159 * | 159 * |
160 * @param $items | 160 * @param $items |
161 * Associative array of toolbar menu definitions returned from hook_toolbar(). | 161 * Associative array of toolbar menu definitions returned from hook_toolbar(). |
162 */ | 162 */ |
163 function hook_toolbar_alter(&$items) { | 163 function hook_toolbar_alter(&$items) { |