diff 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
line wrap: on
line diff
--- a/core/modules/toolbar/toolbar.api.php	Fri Feb 23 15:51:18 2018 +0000
+++ b/core/modules/toolbar/toolbar.api.php	Fri Feb 23 15:52:07 2018 +0000
@@ -152,10 +152,10 @@
 /**
  * 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().