You are here

public static function AvatarGeneratorPreviewWidget::defaultSettings in Avatar Kit 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/FieldWidget/AvatarGeneratorPreviewWidget.php, line 27

Class

AvatarGeneratorPreviewWidget
Widget for avatar generator selection fields.

Namespace

Drupal\avatars\Plugin\Field\FieldWidget

Code

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