diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php index 9e76afbd2119c204ed95ca5fc50374f9115b41f4..d7234defe05e4a9934fa5465f526f77339d6bc14 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php @@ -40,8 +40,6 @@ * default_widget = "entity_reference_autocomplete", * default_formatter = "entity_reference_label", * list_class = "\Drupal\Core\Field\EntityReferenceFieldItemList", - * default_widget = "entity_reference_autocomplete", - * default_formatter = "entity_reference_label", * constraints = {"ValidReference" = {}} * ) */