From 6fe11acd222d9b288c0eb965ba1e86864f4b3041 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 8 Apr 2014 10:21:27 +0100
Subject: [PATCH] Issue #2226437 by fago, tstoeckler, mauzeh: Create
 ContentEntityTypeInterface.

---
 core/lib/Drupal/Core/Entity/ContentEntityType.php |  2 +-
 .../Core/Entity/ContentEntityTypeInterface.php    | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php

diff --git a/core/lib/Drupal/Core/Entity/ContentEntityType.php b/core/lib/Drupal/Core/Entity/ContentEntityType.php
index 510182cf97f7..594df160d8d1 100644
--- a/core/lib/Drupal/Core/Entity/ContentEntityType.php
+++ b/core/lib/Drupal/Core/Entity/ContentEntityType.php
@@ -10,7 +10,7 @@
 /**
  * Defines a config entity type annotation object.
  */
-class ContentEntityType extends EntityType {
+class ContentEntityType extends EntityType implements ContentEntityTypeInterface {
 
   /**
    * {@inheritdoc}
diff --git a/core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php b/core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php
new file mode 100644
index 000000000000..e94488dbc848
--- /dev/null
+++ b/core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\Core\Entity\ContentEntityTypeInterface.
+ */
+
+namespace Drupal\Core\Entity;
+
+/**
+ * Provides an interface for a content entity type.
+ */
+interface ContentEntityTypeInterface {
+
+}
-- 
GitLab