You are here

class Transcoder in Video 8.2

Defines a transcoder annotation object.

Plugin Namespace: Plugin\video\Transcoder

Hierarchy

Expanded class hierarchy of Transcoder

See also

\Drupal\video_transcode\Plugin\TranscoderManager

Plugin API

1 class is annotated with Transcoder
FFmpeg in modules/video_transcode/src/Plugin/video/Transcoder/Ffmpeg.php
Provides Ffmpeg.

File

modules/video_transcode/src/Annotation/Transcoder.php, line 21
Contains \Drupal\video_transcode\Annotation\Transcoder.

Namespace

Drupal\video_transcode\Annotation
View source
class Transcoder extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label of the transcoder.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * A brief description of the transcoder.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation (optional)
   */
  public $description = '';

  /**
   * The type of the service, external service or a locally installed service like Ffmpeg.
   *
   * @var boolean
   */
  public $isExternal;

}

Members

Namesort descending Modifiers Type Description Overrides
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2
Transcoder::$description public property A brief description of the transcoder.
Transcoder::$id public property The plugin ID.
Transcoder::$isExternal public property The type of the service, external service or a locally installed service like Ffmpeg.
Transcoder::$label public property The label of the transcoder.