Version 1
[yaffs-website] / web / core / modules / block_content / src / BlockContentTypeInterface.php
diff --git a/web/core/modules/block_content/src/BlockContentTypeInterface.php b/web/core/modules/block_content/src/BlockContentTypeInterface.php
new file mode 100644 (file)
index 0000000..da3864e
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+namespace Drupal\block_content;
+
+use Drupal\Core\Config\Entity\ConfigEntityInterface;
+use Drupal\Core\Entity\RevisionableEntityBundleInterface;
+
+/**
+ * Provides an interface defining a custom block type entity.
+ */
+interface BlockContentTypeInterface extends ConfigEntityInterface, RevisionableEntityBundleInterface {
+
+  /**
+   * Returns the description of the block type.
+   *
+   * @return string
+   *   The description of the type of this block.
+   */
+  public function getDescription();
+
+}