public static function Length::defaultSettings in Dimension 8
Same name and namespace in other branches
- 2.1.x src/Plugin/Field/FieldWidget/Length.php \Drupal\dimension\Plugin\Field\FieldWidget\Length::defaultSettings()
- 2.0.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\FieldWidgetCode
public static function defaultSettings() {
return self::_defaultSettings(self::fields());
}