public static function EntityReferenceSynonymsAutocomplete::defaultSettings in Synonyms 8
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/ EntityReferenceSynonymsAutocomplete.php, line 27
Class
- EntityReferenceSynonymsAutocomplete
- Plugin implementation of the 'synonyms friendly autocomplete' widget.
Namespace
Drupal\synonyms\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'suggestion_size' => 10,
'suggest_only_unique' => FALSE,
'match' => 'CONTAINS',
] + parent::defaultSettings();
}