You are here

public static function ExifFieldWidgetBase::defaultSettings in Exif 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldWidget/ExifFieldWidgetBase.php \Drupal\exif\Plugin\Field\FieldWidget\ExifFieldWidgetBase::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides ExifWidgetBase::defaultSettings

File

src/Plugin/Field/FieldWidget/ExifFieldWidgetBase.php, line 18

Class

ExifFieldWidgetBase
Class ExifFieldWidgetBase provide base methods for all widgets.

Namespace

Drupal\exif\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'exif_field_separator' => '',
    'exif_field' => 'naming_convention',
  ] + parent::defaultSettings();
}