Skip to content

Commit 6c582d3

Browse files
author
nod_
committed
Issue #2838571 by nexusnovaz, quietone, Damien Flament: Improve description for parameters in hook_menu_links_discovered_alter
1 parent 432e704 commit 6c582d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Drupal/Core/Menu/menu.api.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@
224224
* Alters all the menu links discovered by the menu link plugin manager.
225225
*
226226
* @param array &$links
227-
* The link definitions to be altered. Each link has a key that is the machine
228-
* name, which must be unique. By default, use the route name as the
227+
* The discovered menu links to be altered. Each link has a key that is the
228+
* machine name, which must be unique. By default, use the route name as the
229229
* machine name. In cases where multiple links use the same route name, such
230230
* as two links to the same page in different menus, or two links using the
231231
* same route name but different route parameters, the suggested machine name

0 commit comments

Comments
 (0)