You are here

public function Facebook::providedFields in Media entity facebook 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/Facebook.php, line 111

Class

Facebook
Provides media type plugin for Facebook.

Namespace

Drupal\media_entity_facebook\Plugin\MediaEntity\Type

Code

public function providedFields() {
  return [
    'author_name',
    'width',
    'height',
    'url',
    'html',
  ];
}