public static function MagnificPopup::defaultSettings in Magnific Popup 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/MagnificPopup.php \Drupal\magnific_popup\Plugin\Field\FieldFormatter\MagnificPopup::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/ MagnificPopup.php, line 28
Class
- MagnificPopup
- Magnific Popup field formatter.
Namespace
Drupal\magnific_popup\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'thumbnail_image_style' => '',
'popup_image_style' => '',
'gallery_type' => 'all_items',
'vertical_fit' => 'true',
];
}