You are here

public static function ImagecacheExternalResponsiveImage::defaultSettings in Imagecache External 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/ImagecacheExternalResponsiveImage.php, line 122

Class

ImagecacheExternalResponsiveImage
Plugin implementation of the 'imagecache_external_image' formatter.

Namespace

Drupal\imagecache_external\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'imagecache_external_responsive_style' => '',
    'imagecache_external_link' => '',
  ] + parent::defaultSettings();
}