You are here

public static function ImageUrlFormatter::defaultSettings in Image URL 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/ImageUrlFormatter.php, line 101

Class

ImageUrlFormatter
Plugin implementation of the 'image_url' formatter.

Namespace

Drupal\image_url_formatter\Plugin\Field\FieldFormatter

Code

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