You are here

public static function ImageFormatter::defaultSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php \Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

File

core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php, line 94
Contains \Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter.

Class

ImageFormatter
Plugin implementation of the 'image' formatter.

Namespace

Drupal\image\Plugin\Field\FieldFormatter

Code

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