Version 1
[yaffs-website] / web / modules / contrib / paragraphs / src / Annotation / ParagraphsBehavior.php
diff --git a/web/modules/contrib/paragraphs/src/Annotation/ParagraphsBehavior.php b/web/modules/contrib/paragraphs/src/Annotation/ParagraphsBehavior.php
new file mode 100644 (file)
index 0000000..96d9ef2
--- /dev/null
@@ -0,0 +1,50 @@
+<?php
+
+namespace Drupal\paragraphs\Annotation;
+
+use Drupal\Component\Annotation\Plugin;
+
+/**
+ * Defines a ParagraphsBehavior annotation object.
+ *
+ * Paragraphs behavior builders handle extra settings for the paragraph
+ * entity.
+ *
+ * @Annotation
+ *
+ */
+class ParagraphsBehavior extends Plugin {
+
+  /**
+   * The plugin ID.
+   *
+   * @var string
+   */
+  public $id;
+
+  /**
+   * The human-readable name of the paragraphs behavior plugin.
+   *
+   * @ingroup plugin_translatable
+   *
+   * @var \Drupal\Core\Annotation\Translation
+   */
+  public $label;
+
+  /**
+   * The plugin description.
+   *
+   * @ingroup plugin_translatable
+   *
+   * @var string
+   */
+  public $description;
+
+  /**
+   * The plugin weight.
+   *
+   * @var int
+   */
+  public $weight;
+
+}