From 2dbb3e450a0292c680cfed23623b8e268ad18cb9 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Sun, 14 Jun 2020 10:13:24 +0100
Subject: [PATCH] Issue #3137430 by TR, jungle, alexpott: label_collection is
 defined twice in BlockContentType entity annotation

---
 core/modules/block_content/src/Entity/BlockContentType.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/modules/block_content/src/Entity/BlockContentType.php b/core/modules/block_content/src/Entity/BlockContentType.php
index 20f9593b82f5..acaa64039ddf 100644
--- a/core/modules/block_content/src/Entity/BlockContentType.php
+++ b/core/modules/block_content/src/Entity/BlockContentType.php
@@ -11,14 +11,13 @@
  * @ConfigEntityType(
  *   id = "block_content_type",
  *   label = @Translation("Custom block type"),
- *   label_collection = @Translation("Custom block types"),
+ *   label_collection = @Translation("Custom block library"),
  *   label_singular = @Translation("custom block type"),
  *   label_plural = @Translation("custom block types"),
  *   label_count = @PluralTranslation(
  *     singular = "@count custom block type",
  *     plural = "@count custom block types",
  *   ),
- *   label_collection = @Translation("Custom block library"),
  *   handlers = {
  *     "form" = {
  *       "default" = "Drupal\block_content\BlockContentTypeForm",
-- 
GitLab