You are here

public static function AudioStreamHTML5::defaultSettings in Media entity audio 8.3

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/AudioStreamHTML5.php, line 25

Class

AudioStreamHTML5
Plugin implementation of the 'Audio Stream (HTML5)' formatter.

Namespace

Drupal\media_entity_audio\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $settings['controls'] = TRUE;
  return $settings;
}