public static function DynamicEntityReferenceWidget::defaultSettings in Dynamic Entity Reference 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldWidget/DynamicEntityReferenceWidget.php \Drupal\dynamic_entity_reference\Plugin\Field\FieldWidget\DynamicEntityReferenceWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides EntityReferenceAutocompleteWidget::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ DynamicEntityReferenceWidget.php, line 33
Class
- DynamicEntityReferenceWidget
- Plugin implementation of the 'dynamic_entity_reference autocomplete' widget.
Namespace
Drupal\dynamic_entity_reference\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'match_operator' => 'CONTAINS',
'match_limit' => 10,
'size' => 40,
'placeholder' => '',
] + parent::defaultSettings();
}