You are here

public function Video::providedFields in Media entity video 8

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

src/Plugin/MediaEntity/Type/Video.php, line 23

Class

Video
Provides media type plugin for Video.

Namespace

Drupal\media_entity_video\Plugin\MediaEntity\Type

Code

public function providedFields() {
  return [
    'mime' => $this
      ->t('File MIME'),
  ];
}