Version 1
[yaffs-website] / web / modules / contrib / embed / src / Annotation / EmbedType.php
diff --git a/web/modules/contrib/embed/src/Annotation/EmbedType.php b/web/modules/contrib/embed/src/Annotation/EmbedType.php
new file mode 100644 (file)
index 0000000..441b80b
--- /dev/null
@@ -0,0 +1,39 @@
+<?php
+
+namespace Drupal\embed\Annotation;
+
+use Drupal\Component\Annotation\Plugin;
+
+/**
+ * Defines an embed type annotation object.
+ *
+ * @ingroup embed_api
+ *
+ * @Annotation
+ */
+class EmbedType extends Plugin {
+
+  /**
+   * The embed type ID.
+   *
+   * @var string
+   */
+  protected $id;
+
+  /**
+   * The human-readable name of the embed type.
+   *
+   * @var \Drupal\Core\Annotation\Translation
+   *
+   * @ingroup plugin_translatable
+   */
+  protected $label;
+
+  /**
+   * The name of the embed form class associated with this embed type.
+   *
+   * @var string
+   */
+  protected $embed_form_class;
+
+}