diff --git a/core/modules/entity/lib/Drupal/entity/Entity/EntityDisplay.php b/core/modules/entity/lib/Drupal/entity/Entity/EntityDisplay.php index 4cb3e7e..1d975f3 100644 --- a/core/modules/entity/lib/Drupal/entity/Entity/EntityDisplay.php +++ b/core/modules/entity/lib/Drupal/entity/Entity/EntityDisplay.php @@ -7,8 +7,7 @@ namespace Drupal\entity\Entity; -use Drupal\Core\Config\Entity\ConfigEntityInterface; -use Drupal\Core\Entity\Display\EntityDisplayInterface; +use Drupal\Core\Entity\Display\EntityViewDisplayInterface; use Drupal\entity\EntityDisplayBase; /** @@ -29,7 +28,7 @@ * } * ) */ -class EntityDisplay extends EntityDisplayBase implements EntityDisplayInterface, ConfigEntityInterface { +class EntityDisplay extends EntityDisplayBase implements EntityViewDisplayInterface { /** * {@inheritdoc} diff --git a/core/modules/entity/lib/Drupal/entity/Entity/EntityFormDisplay.php b/core/modules/entity/lib/Drupal/entity/Entity/EntityFormDisplay.php index 13a3b70..fb679a1 100644 --- a/core/modules/entity/lib/Drupal/entity/Entity/EntityFormDisplay.php +++ b/core/modules/entity/lib/Drupal/entity/Entity/EntityFormDisplay.php @@ -7,7 +7,6 @@ namespace Drupal\entity\Entity; -use Drupal\Core\Config\Entity\ConfigEntityInterface; use Drupal\Core\Entity\Display\EntityFormDisplayInterface; use Drupal\entity\EntityDisplayBase; @@ -29,7 +28,7 @@ * } * ) */ -class EntityFormDisplay extends EntityDisplayBase implements EntityFormDisplayInterface, ConfigEntityInterface, \Serializable { +class EntityFormDisplay extends EntityDisplayBase implements EntityFormDisplayInterface, \Serializable { /** * {@inheritdoc} diff --git a/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php b/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php index b339bd6..96684f8 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php @@ -8,7 +8,7 @@ namespace Drupal\field_ui; use Drupal\field\FieldInstanceInterface; -use Drupal\Core\Entity\Display\EntityViewDisplayInterface; +use Drupal\Core\Entity\Display\EntityDisplayInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -48,7 +48,7 @@ public function buildForm(array $form, array &$form_state, $entity_type = NULL, /** * {@inheritdoc} */ - protected function buildFieldRow($field_id, FieldInstanceInterface $instance, EntityViewDisplayInterface $entity_display, array $form, array &$form_state) { + protected function buildFieldRow($field_id, FieldInstanceInterface $instance, EntityDisplayInterface $entity_display, array $form, array &$form_state) { $field_row = parent::buildFieldRow($field_id, $instance, $entity_display, $form, $form_state); $display_options = $entity_display->getComponent($field_id);