Version 1
[yaffs-website] / web / modules / contrib / video / src / Annotation / VideoEmbeddableProvider.php
1 <?php
2
3 /**
4  * @file
5  * Contains \Drupal\video\Annotation\VideoEmbeddableProvider.
6  */
7
8 namespace Drupal\video\Annotation;
9
10 use Drupal\Component\Annotation\Plugin;
11
12 /**
13  * Defines a VideoEmbeddableProvider item annotation object.
14  *
15  * @Annotation
16  */
17 class VideoEmbeddableProvider extends Plugin {
18
19   /**
20    * The plugin ID.
21    *
22    * @var string
23    */
24   public $id;
25
26   /**
27    * The label of the plugin.
28    *
29    * @var \Drupal\Core\Annotation\Translation
30    *
31    * @ingroup plugin_translatable
32    */
33   public $label;
34   
35   /**
36    * A brief description of the plugin.
37    *
38    * @ingroup plugin_translatable
39    *
40    * @var \Drupal\Core\Annotation\Translation (optional)
41    */
42   public $description = '';
43   
44   /**
45    * List of regular expressions that match embed codes and URLs of videos.
46    *
47    * @var array
48    */
49   public $regular_expressions = [];
50   
51   /**
52    * A mimetype of the plugin.
53    *
54    * @var string
55    */
56   public $mimetype = '';
57   
58   /**
59    * A stream_wrapper to use in the plugin.
60    *
61    * @var string
62    */
63   public $stream_wrapper = '';  
64
65 }