You are here

public static function ImageRawFormatter::defaultSettings in Image Raw Formatter 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

src/Plugin/Field/FieldFormatter/ImageRawFormatter.php, line 107
Contains \Drupal\image_raw_formatter\Plugin\Field\FieldFormatter\ImageRawFormatter.

Class

ImageRawFormatter
Plugin implementation of the 'image_raw_formatter' formatter.

Namespace

Drupal\image_raw_formatter\Plugin\Field\FieldFormatter

Code

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