Skip to content
Snippets Groups Projects
Commit 0c29f756 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2798335 by naveenvalecha: Menu.api.php references a renamed class

parent efcf5218
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -20,7 +20,7 @@
* a tree transformation, because menu links themselves are responsible
* for translation. Transformations are performed by "menu link tree
* manipulators", which are functions or methods; see
* \Drupal\menu_link\DefaultMenuTreeManipulators for examples.
* \Drupal\Core\Menu\DefaultMenuLinkTreeManipulators for examples.
* - Create a render array using MenuLinkTreeInterface::build().
*/
interface MenuLinkTreeInterface {
......
......@@ -170,11 +170,11 @@
* - Pass the menu tree to \Drupal\Core\Menu\MenuLinkTree::transform() to apply
* menu link tree manipulators that transform the tree. You will almost always
* want to apply access checking. The manipulators that you will typically
* need can be found in \Drupal\Core\Menu\DefaultMenuTreeManipulators.
* need can be found in \Drupal\Core\Menu\DefaultMenuLinkTreeManipulators.
* - Potentially write a custom menu tree manipulator, see
* \Drupal\Core\Menu\DefaultMenuTreeManipulators for examples. This is only
* necessary if you want to do things like adding extra metadata to rendered
* links to display icons next to them.
* \Drupal\Core\Menu\DefaultMenuLinkTreeManipulators for examples. This is
* only necessary if you want to do things like adding extra metadata to
* rendered links to display icons next to them.
* - Pass the menu tree to \Drupal\Core\Menu\MenuLinkTree::build(), this will
* build a renderable array.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment