Version 1
[yaffs-website] / web / modules / contrib / embed / src / Annotation / EmbedType.php
1 <?php
2
3 namespace Drupal\embed\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6
7 /**
8  * Defines an embed type annotation object.
9  *
10  * @ingroup embed_api
11  *
12  * @Annotation
13  */
14 class EmbedType extends Plugin {
15
16   /**
17    * The embed type ID.
18    *
19    * @var string
20    */
21   protected $id;
22
23   /**
24    * The human-readable name of the embed type.
25    *
26    * @var \Drupal\Core\Annotation\Translation
27    *
28    * @ingroup plugin_translatable
29    */
30   protected $label;
31
32   /**
33    * The name of the embed form class associated with this embed type.
34    *
35    * @var string
36    */
37   protected $embed_form_class;
38
39 }