You are here

public static function TwentyTwentyFormatter::defaultSettings in Glazed CMS Portfolio 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/TwentyTwentyFormatter.php, line 92

Class

TwentyTwentyFormatter
Plugin implementation of the 'twentytwenty_field_formatter' formatter.

Namespace

Drupal\cms_portfolio\Plugin\Field\FieldFormatter

Code

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