diff --git a/core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php b/core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php index ffaee11343169303120989de00931e0e01b3a95c..8bd3c3810c927ac6fc95fdcf70bb8e7837419fdc 100644 --- a/core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php +++ b/core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php @@ -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 { diff --git a/core/lib/Drupal/Core/Menu/menu.api.php b/core/lib/Drupal/Core/Menu/menu.api.php index af33b326c1fdb6d4df7324a47bb55ee35ad836b2..f522d3ab8b387696d38663984dee7fa896ec98bc 100644 --- a/core/lib/Drupal/Core/Menu/menu.api.php +++ b/core/lib/Drupal/Core/Menu/menu.api.php @@ -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. *