public static function ContactAutocompleteWidget::defaultSettings in RedHen CRM 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
- modules/
redhen_contact/ src/ Plugin/ Field/ FieldWidget/ ContactAutocompleteWidget.php, line 28
Class
- ContactAutocompleteWidget
- Plugin implementation of the 'redhen_contact_autocomplete' widget.
Namespace
Drupal\redhen_contact\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'match_operator' => 'CONTAINS',
'match_limit' => 10,
'size' => 60,
'placeholder' => '',
] + parent::defaultSettings();
}