From 8e3e867b01f43ec0747257532cf9127924cce975 Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Fri, 1 Mar 2024 07:28:53 +1000 Subject: [PATCH] Issue #3424751 by acbramley: BlockContentForm::actions is incorrectly overridden as public --- core/modules/block_content/src/BlockContentForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/block_content/src/BlockContentForm.php b/core/modules/block_content/src/BlockContentForm.php index f7503d345d75..31ed14b857c1 100644 --- a/core/modules/block_content/src/BlockContentForm.php +++ b/core/modules/block_content/src/BlockContentForm.php @@ -41,7 +41,7 @@ public function form(array $form, FormStateInterface $form_state) { /** * {@inheritdoc} */ - public function actions(array $form, FormStateInterface $form_state): array { + protected function actions(array $form, FormStateInterface $form_state): array { $element = parent::actions($form, $form_state); if ($this->getRequest()->query->has('theme')) { -- GitLab