public static function MappedTermsTextfieldWidget::defaultSettings in Search API Field Map 8
Same name and namespace in other branches
- 8.3 src/Plugin/Field/FieldWidget/MappedTermsTextfieldWidget.php \Drupal\search_api_field_map\Plugin\Field\FieldWidget\MappedTermsTextfieldWidget::defaultSettings()
- 8.2 src/Plugin/Field/FieldWidget/MappedTermsTextfieldWidget.php \Drupal\search_api_field_map\Plugin\Field\FieldWidget\MappedTermsTextfieldWidget::defaultSettings()
- 4.x src/Plugin/Field/FieldWidget/MappedTermsTextfieldWidget.php \Drupal\search_api_field_map\Plugin\Field\FieldWidget\MappedTermsTextfieldWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ MappedTermsTextfieldWidget.php, line 25
Class
- MappedTermsTextfieldWidget
- Plugin implementation of the 'mapped_terms_textfield' widget.
Namespace
Drupal\search_api_field_map\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'size' => 75,
'placeholder' => '',
] + parent::defaultSettings();
}