class VideoFilter in Video Filter 8
Same name in this branch
- 8 src/Controller/VideoFilter.php \Drupal\video_filter\Controller\VideoFilter
- 8 src/Annotation/VideoFilter.php \Drupal\video_filter\Annotation\VideoFilter
- 8 src/Plugin/Filter/VideoFilter.php \Drupal\video_filter\Plugin\Filter\VideoFilter
- 8 src/Plugin/CKEditorPlugin/VideoFilter.php \Drupal\video_filter\Plugin\CKEditorPlugin\VideoFilter
Defines a Video Filter codec annotation object.
Plugin Namespace: Plugin\video_filter\VideoFilter.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\video_filter\Annotation\VideoFilter
Expanded class hierarchy of VideoFilter
See also
\Drupal\video_filter\Plugin\VideoFilterManager
39 classes are annotated with VideoFilter
- ArchiveOrg in src/
Plugin/ VideoFilter/ ArchiveOrg.php - Provides ArchiveOrg codec for Video Filter.
- Brightcove in src/
Plugin/ VideoFilter/ Brightcove.php - Provides Brightcove codec for Video Filter.
- Capped in src/
Plugin/ VideoFilter/ Capped.php - Provides Capped codec for Video Filter.
- CollegeHumor in src/
Plugin/ VideoFilter/ CollegeHumor.php - Provides CollegeHumor codec for Video Filter.
- Coub in src/
Plugin/ VideoFilter/ Coub.php - Provides Coub codec for Video Filter.
File
- src/
Annotation/ VideoFilter.php, line 17
Namespace
Drupal\video_filter\AnnotationView source
class VideoFilter extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The name of the codec.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $name;
/**
* The example URL.
*
* @var url
*/
public $example_url;
/**
* Regular expressions to match the video.
*
* @var array of regexp
*/
public $regexp = [];
/**
* The video player ratio.
*
* @var float
*/
public $ratio;
/**
* The video player control bar height.
*
* @var int
*/
public $control_bar_height;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |
VideoFilter:: |
public | property | The video player control bar height. | |
VideoFilter:: |
public | property | The example URL. | |
VideoFilter:: |
public | property | The plugin ID. | |
VideoFilter:: |
public | property | The name of the codec. | |
VideoFilter:: |
public | property | The video player ratio. | |
VideoFilter:: |
public | property | Regular expressions to match the video. |