You are here

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

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldWidget/Length.php \Drupal\dimension\Plugin\Field\FieldWidget\Length::defaultSettings()
  2. 2.1.x src/Plugin/Field/FieldWidget/Length.php \Drupal\dimension\Plugin\Field\FieldWidget\Length::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/Length.php, line 25

Class

Length
Plugin implementation of the 'length_field_widget' widget.

Namespace

Drupal\dimension\Plugin\Field\FieldWidget

Code

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