You are here

public function BrightcoveVideo::providedFields in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 modules/media_entity_brightcove/src/Plugin/MediaEntity/Type/BrightcoveVideo.php \Drupal\media_entity_brightcove\Plugin\MediaEntity\Type\BrightcoveVideo::providedFields()
  2. 3.x modules/media_entity_brightcove/src/Plugin/MediaEntity/Type/BrightcoveVideo.php \Drupal\media_entity_brightcove\Plugin\MediaEntity\Type\BrightcoveVideo::providedFields()

Gets list of fields provided by this plugin.

Return value

array Associative array with field names as keys and descriptions as values.

Overrides MediaTypeInterface::providedFields

File

modules/media_entity_brightcove/src/Plugin/MediaEntity/Type/BrightcoveVideo.php, line 29

Class

BrightcoveVideo
Defines video field type for media.

Namespace

Drupal\media_entity_brightcove\Plugin\MediaEntity\Type

Code

public function providedFields() {
  return [
    'name' => $this
      ->t('Name'),
    'complete' => $this
      ->t('Complete'),
    'description' => $this
      ->t('Description'),
    'long_description' => $this
      ->t('Long description'),
    'reference_id' => $this
      ->t('Reference ID'),
    'state' => $this
      ->t('State'),
    'tags' => $this
      ->t('Tags'),
    'custom_fields' => $this
      ->t('Custom fields'),
    'geo' => $this
      ->t('Geo information'),
    'geo.countries' => $this
      ->t('Geo countries'),
    'geo.exclude_countries' => $this
      ->t('Exclude countries'),
    'geo.restricted' => $this
      ->t('Geo Restricted'),
    'schedule' => $this
      ->t('Schedule'),
    'starts_at' => $this
      ->t('Starts at'),
    'ends_at' => $this
      ->t('Ends at'),
    'picture_thumbnail' => $this
      ->t('Thumbnail picture'),
    'picture_poster' => $this
      ->t('Picture poster'),
    'video_source' => $this
      ->t('Video source'),
    'economics' => $this
      ->t('Economics'),
    'partner_channel' => $this
      ->t('Partner channel'),
  ];
}