You are here

public function Twitter::defaultConfiguration in Media entity Twitter 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides MediaTypeBase::defaultConfiguration

File

src/Plugin/MediaEntity/Type/Twitter.php, line 115

Class

Twitter
Provides media type plugin for Twitter.

Namespace

Drupal\media_entity_twitter\Plugin\MediaEntity\Type

Code

public function defaultConfiguration() {
  return [
    'use_twitter_api' => FALSE,
    'generate_thumbnails' => FALSE,
  ];
}