public static function SoundcloudEmbedFormatter::defaultSettings in Media entity Soundcloud 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SoundcloudEmbedFormatter.php \Drupal\media_entity_soundcloud\Plugin\Field\FieldFormatter\SoundcloudEmbedFormatter::defaultSettings()
- 3.x src/Plugin/Field/FieldFormatter/SoundcloudEmbedFormatter.php \Drupal\media_entity_soundcloud\Plugin\Field\FieldFormatter\SoundcloudEmbedFormatter::defaultSettings()
@inheritDoc
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ SoundcloudEmbedFormatter.php, line 27
Class
- SoundcloudEmbedFormatter
- Plugin implementation of the 'soundcloud_embed' formatter.
Namespace
Drupal\media_entity_soundcloud\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'type' => 'visual',
'width' => '100%',
'height' => '450px',
'options' => [],
) + parent::defaultSettings();
}