You are here

public static function ExifWidgetBase::defaultSettings in Exif 8

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

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

2 calls to ExifWidgetBase::defaultSettings()
ExifFieldWidgetBase::defaultSettings in src/Plugin/Field/FieldWidget/ExifFieldWidgetBase.php
Defines the default settings for this plugin.
ExifHtmlWidget::defaultSettings in src/Plugin/Field/FieldWidget/ExifHtmlWidget.php
Defines the default settings for this plugin.
2 methods override ExifWidgetBase::defaultSettings()
ExifFieldWidgetBase::defaultSettings in src/Plugin/Field/FieldWidget/ExifFieldWidgetBase.php
Defines the default settings for this plugin.
ExifHtmlWidget::defaultSettings in src/Plugin/Field/FieldWidget/ExifHtmlWidget.php
Defines the default settings for this plugin.

File

src/Plugin/Field/FieldWidget/ExifWidgetBase.php, line 22

Class

ExifWidgetBase
Base class for 'Exif Field widget' plugin implementations.

Namespace

Drupal\exif\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return ExifWidgetBase::EXIF_BASE_DEFAULT_SETTINGS + parent::defaultSettings();
}