You are here

public static function VideoEmbedField::defaultSettings in Magnific Popup 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/VideoEmbedField.php \Drupal\magnific_popup\Plugin\Field\FieldFormatter\VideoEmbedField::defaultSettings()

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/VideoEmbedField.php, line 102

Class

VideoEmbedField
Magnific Popup FieldFormatter for Video Embed Field.

Namespace

Drupal\magnific_popup\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $default_settings = [
    'gallery_type' => 'all_items',
  ];
  return $default_settings + parent::defaultSettings();
}