You are here

public static function ImagePopupFieldFormatter::defaultSettings in Simple Image Popup 8

Same name and namespace in other branches
  1. 2.x src/Plugin/Field/FieldFormatter/ImagePopupFieldFormatter.php \Drupal\image_popup\Plugin\Field\FieldFormatter\ImagePopupFieldFormatter::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/ImagePopupFieldFormatter.php, line 111
Contains \Drupal\image_popup\Plugin\Field\FieldFormatter\ImagePopupFieldFormatter.

Class

ImagePopupFieldFormatter
Plugin implementation of the 'image_popup_field_formatter' formatter.

Namespace

Drupal\image_popup\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'image_style' => '',
    'image_style_popup' => '',
    'image_link' => '',
  ) + parent::defaultSettings();
}