You are here

public static function ImageStyleImageFormatter::defaultSettings in Field Image Style 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides ImageFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/ImageStyleImageFormatter.php, line 28

Class

ImageStyleImageFormatter
Plugin implementation of the 'image_style_formatter' formatter.

Namespace

Drupal\field_image_style\Plugin\Field\FieldFormatter

Code

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