protected function AutocompleteDeluxeWidget::getMatchOperatorOptions in Autocomplete Deluxe 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldWidget/AutocompleteDeluxeWidget.php \Drupal\autocomplete_deluxe\Plugin\Field\FieldWidget\AutocompleteDeluxeWidget::getMatchOperatorOptions()
Returns the options for the match operator.
Return value
array List of options.
1 call to AutocompleteDeluxeWidget::getMatchOperatorOptions()
- AutocompleteDeluxeWidget::settingsForm in src/
Plugin/ Field/ FieldWidget/ AutocompleteDeluxeWidget.php - Returns a form to configure settings for the widget.
File
- src/
Plugin/ Field/ FieldWidget/ AutocompleteDeluxeWidget.php, line 380
Class
- AutocompleteDeluxeWidget
- Plugin implementation of the 'options_buttons' widget.
Namespace
Drupal\autocomplete_deluxe\Plugin\Field\FieldWidgetCode
protected function getMatchOperatorOptions() {
return [
'STARTS_WITH' => $this
->t('Starts with'),
'CONTAINS' => $this
->t('Contains'),
];
}