From 352c603494de895967d792e33f1e1f711f521388 Mon Sep 17 00:00:00 2001 From: catch Date: Mon, 28 Nov 2022 10:26:17 +0000 Subject: [PATCH] Issue #3323855 by benjifisher: Improve class comment for Drupal\Core\Menu\MenuLinkTreeElement (cherry picked from commit c731970df9baace7715a1fcdc27f3420fd18f05b) --- core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php b/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php index f58dd913b24..1c7af4b9926 100644 --- a/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php +++ b/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php @@ -5,13 +5,13 @@ namespace Drupal\Core\Menu; /** * Provides a value object to model an element in a menu link tree. * - * \Drupal\Core\Menu\MenuLinkTreeElement objects represent a menu link's data. - * Objects of this class provide complimentary data: the placement in a tree. + * \Drupal\Core\Menu\MenuLinkInterface objects represent a menu link's data. + * Objects of this class provide complementary data: the placement in a tree. * Therefore, we can summarize this split as follows: * - Menu link objects contain all information about an individual menu link, * plus what their parent is. But they don't know where exactly in a menu link * tree they live. - * - Instances of this class are complimentary to those objects, they know: + * - Instances of this class are complementary to those objects, they know: * - All additional metadata from {menu_tree}, which contains "materialized" * metadata about a menu link tree, such as whether a link in the tree has * visible children and the depth relative to the root.