You are here

public function Bynder::providedFields in Bynder 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/Bynder.php, line 158

Class

Bynder
Provides media type plugin for Bynder.

Namespace

Drupal\bynder\Plugin\MediaEntity\Type

Code

public function providedFields() {
  $fields = [
    'uuid' => $this
      ->t('ID'),
    'name' => $this
      ->t('Name'),
    'description' => $this
      ->t('Description'),
    'tags' => $this
      ->t('Tags'),
    'type' => $this
      ->t('Type'),
    'video_preview_urls' => $this
      ->t('Video preview urls'),
    'thumbnail_urls' => $this
      ->t('Thumbnail urls'),
    'width' => $this
      ->t('Width'),
    'height' => $this
      ->t('Height'),
    'created' => $this
      ->t('Date created'),
    'modified' => $this
      ->t('Data modified'),
    'propertyOptions' => $this
      ->t('Meta-property option IDs'),
  ];
  return $fields;
}