diff --git a/core/lib/Drupal/Core/Entity/EntityFormController.php b/core/lib/Drupal/Core/Entity/EntityFormController.php index f852b9c..101ea18 100644 --- a/core/lib/Drupal/Core/Entity/EntityFormController.php +++ b/core/lib/Drupal/Core/Entity/EntityFormController.php @@ -366,7 +366,7 @@ public function getFormDisplay(array $form_state) { /** * {@inheritdoc} */ - protected function setFormDisplay(EntityFormDisplayInterface $form_display, array &$form_state) { + public function setFormDisplay(EntityFormDisplayInterface $form_display, array &$form_state) { $form_state['form_display'] = $form_display; }