From 28881d63b7045b09529585baefd41a54ac545d60 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Mon, 25 Mar 2024 08:54:12 +0000 Subject: [PATCH] Issue #3425849 by jackwrfuller, joachim: DraggableListBuilderTrait needs to say that classes using it must implement FormInterface --- core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php b/core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php index 5ccbbde2d2e0..472f774a75c7 100644 --- a/core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php +++ b/core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php @@ -7,8 +7,8 @@ /** * Provides a trait for draggable listings of entities. * - * Classes using this trait are expected to set the $formBuilder property in - * their constructor. + * Classes using this trait must implement \Drupal\Core\Form\FormInterface and + * are expected to set the $formBuilder property in their constructor. */ trait DraggableListBuilderTrait { -- GitLab