You are here

public static function FileShadowboxFormatter::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

file_shadowbox/lib/Drupal/file_shadowbox/Plugin/Field/FieldFormatter/FileShadowboxFormatter.php, line 29
Contains \Drupal\file_shadowbox\Plugin\field\formatter\FileShadowboxFormatter.

Class

FileShadowboxFormatter
Plugin implementation of the 'file_shadowbox' formatter.

Namespace

Drupal\file_shadowbox\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'icon' => '',
    'image_style' => '',
    'image_link' => '',
    'gallery' => '',
    'compact' => '',
    'title' => '',
    'video_width' => '640',
    'video_height' => '360',
    'video_thumb' => '128',
  );
}