You are here

public static function SoundCloudLinkFormatter::defaultSettings in SoundCloud field 8

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/SoundCloudLinkFormatter.php, line 29

Class

SoundCloudLinkFormatter
Plugin implementation of the 'soundcloud_link' formatter.

Namespace

Drupal\soundcloudfield\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'trim_length' => '80',
    'rel' => '',
    'target' => '',
  ) + parent::defaultSettings();
}