You are here

public static function ImageShadowboxFormatter::defaultSettings in Shadowbox 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

image_shadowbox/lib/Drupal/image_shadowbox/Plugin/Field/FieldFormatter/ImageShadowboxFormatter.php, line 29
Contains \Drupal\image_shadowbox\Plugin\field\formatter\ImageShadowboxFormatter.

Class

ImageShadowboxFormatter
Plugin implementation of the 'image_shadowbox' formatter.

Namespace

Drupal\image_shadowbox\Plugin\Field\FieldFormatter

Code

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