diff --git a/core/modules/toolbar/toolbar.api.php b/core/modules/toolbar/toolbar.api.php
index 548b488992a4570c8d9b42a4226a72f3ea4cd0f6..eb087d36e28a88d0b38e08c70953e94a2c863f7f 100644
--- a/core/modules/toolbar/toolbar.api.php
+++ b/core/modules/toolbar/toolbar.api.php
@@ -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().