You are here

public static function ExtraImageFieldClassesFormatter::defaultSettings in Extra Image Field Classes 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/ExtraImageFieldClassesFormatter.php, line 25

Class

ExtraImageFieldClassesFormatter
Plugin implementation of the 'extra_image_field_classes' formatter.

Namespace

Drupal\extra_image_field_classes\Plugin\Field\FieldFormatter

Code

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