From 77c12258730b0ab4e076e6f482c0a26a1eca3bca Mon Sep 17 00:00:00 2001
From: Christoph Burschka <christoph.burschka@pwc-digital.ch>
Date: Fri, 4 Aug 2017 19:39:25 +0200
Subject: [PATCH] Issue #2897204 by cburschka: Contact message missing
 "bundle_label" string

---
 core/modules/contact/src/Entity/Message.php   | 1 +
 core/modules/shortcut/src/Entity/Shortcut.php | 1 +
 2 files changed, 2 insertions(+)

diff --git a/core/modules/contact/src/Entity/Message.php b/core/modules/contact/src/Entity/Message.php
index d75496ba72..193687087d 100644
--- a/core/modules/contact/src/Entity/Message.php
+++ b/core/modules/contact/src/Entity/Message.php
@@ -13,6 +13,7 @@
  * @ContentEntityType(
  *   id = "contact_message",
  *   label = @Translation("Contact message"),
+ *   bundle_label = @Translation("Contact form"),
  *   handlers = {
  *     "access" = "Drupal\contact\ContactMessageAccessControlHandler",
  *     "storage" = "Drupal\Core\Entity\ContentEntityNullStorage",
diff --git a/core/modules/shortcut/src/Entity/Shortcut.php b/core/modules/shortcut/src/Entity/Shortcut.php
index 87e2ccb91b..bba393acf1 100644
--- a/core/modules/shortcut/src/Entity/Shortcut.php
+++ b/core/modules/shortcut/src/Entity/Shortcut.php
@@ -18,6 +18,7 @@
  * @ContentEntityType(
  *   id = "shortcut",
  *   label = @Translation("Shortcut link"),
+ *   bundle_label = @Translation("Shortcut set"),
  *   handlers = {
  *     "access" = "Drupal\shortcut\ShortcutAccessControlHandler",
  *     "form" = {
-- 
2.13.4

