From c8b7cbcc51b2ae73ed5fb8574c8f8e33ed9c5ffc Mon Sep 17 00:00:00 2001
From: Yaroslav Kozak <y.kozak@dev-branch.com>
Date: Mon, 14 Apr 2025 15:29:10 +0300
Subject: [PATCH] #3518967 Corrections for
 ElementInfoManagerInterface::getInfo() return description

---
 .../Drupal/Core/Render/ElementInfoManagerInterface.php    | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php b/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php
index cc4c53011d6d..ea6f21b849cd 100644
--- a/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php
+++ b/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php
@@ -23,11 +23,9 @@ interface ElementInfoManagerInterface extends DiscoveryInterface {
    *   The machine name of an element type plugin.
    *
    * @return array
-   *   An associative array describing the element types being defined. The
-   *   array contains a sub-array for each element type, with the
-   *   machine-readable type name as the key. Each sub-array has a number of
-   *   possible attributes:
-   *   - #input: boolean indicating whether or not this element carries a value
+   *   An associative array describing the element type being defined. The
+   *   array has a number of possible attributes:
+   *   - #input: boolean indicating whether this element carries a value
    *     (even if it's hidden).
    *   - #process: array of callback functions taking $element, $form_state,
    *     and $complete_form.
-- 
GitLab