You are here

public function Generic::providedFields in Media entity 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

1 method overrides Generic::providedFields()
TestType::providedFields in tests/modules/media_entity_test_type/src/Plugin/MediaEntity/Type/TestType.php
Gets list of fields provided by this plugin.

File

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

Class

Generic
Provides generic media type.

Namespace

Drupal\media_entity\Plugin\MediaEntity\Type

Code

public function providedFields() {
  return [];
}