From 849b948336b7ca76f470c8169972ce11772fbdf2 Mon Sep 17 00:00:00 2001 From: quietone <quietone@2572884.no-reply.drupal.org> Date: Fri, 25 Apr 2025 21:52:27 +1200 Subject: [PATCH] Issue #3518967 by quadrexdev, joachim: incorrect @return docs for ElementInfoManagerInterface::getInfo() (cherry picked from commit 87c85acb6728af604918bb70505c5ea9781d6de9) --- .../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 403bd4b73fa6..2dd5cbd15f16 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