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
- Provides media type plugin for Twitter.
Namespace
Drupal\media_entity_twitter\Plugin\MediaEntity\TypeCode
public function defaultConfiguration() {
return [
'use_twitter_api' => FALSE,
'generate_thumbnails' => FALSE,
];
}