You are here

public static function Volume::defaultSettings in Dimension 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldWidget/Volume.php \Drupal\dimension\Plugin\Field\FieldWidget\Volume::defaultSettings()
  2. 2.1.x src/Plugin/Field/FieldWidget/Volume.php \Drupal\dimension\Plugin\Field\FieldWidget\Volume::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides NumberWidget::defaultSettings

File

src/Plugin/Field/FieldWidget/Volume.php, line 25

Class

Volume
Plugin implementation of the 'volume_field_widget' widget.

Namespace

Drupal\dimension\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return self::_defaultSettings(self::fields());
}