From 47a985d8d65902b39c882e519cf5bd77e30e0b23 Mon Sep 17 00:00:00 2001
From: xjm <xjm@65776.no-reply.drupal.org>
Date: Wed, 11 Nov 2015 13:14:36 -0600
Subject: [PATCH] Issue #2609924 by hchonov: EntityReferenceItem annotation
 defines keys unnecessary twice

---
 .../Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php   | 2 --
 1 file changed, 2 deletions(-)

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 9e76afbd2119..d7234defe05e 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" = {}}
  * )
  */
-- 
GitLab