You are here

public function Slideshow::providedFields in Media entity slideshow 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/Slideshow.php, line 23

Class

Slideshow
Provides media type plugin for Slideshows.

Namespace

Drupal\media_entity_slideshow\Plugin\MediaEntity\Type

Code

public function providedFields() {
  $fields = array(
    'length' => $this
      ->t('Slideshow length'),
  );
  return $fields;
}