You are here

public static function JwplayerFormatter::defaultSettings in JW Player 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/JwplayerFormatter.php, line 31

Class

JwplayerFormatter
Plugin implementation of the 'foo_formatter' formatter.

Namespace

Drupal\jw_player\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'jwplayer_preset' => NULL,
    'preview_image_field' => NULL,
    'preview_image_style' => NULL,
  ) + parent::defaultSettings();
}