protected function Select2Widget::getEmptyLabel in Select 2 8
Returns the empty option label to add to the list of options, if any.
Return value
string|null Either a label of the empty option, or NULL.
Overrides OptionsSelectWidget::getEmptyLabel
File
- src/
Plugin/ Field/ FieldWidget/ Select2Widget.php, line 76
Class
- Select2Widget
- Plugin implementation of the 'select2' widget.
Namespace
Drupal\select2\Plugin\Field\FieldWidgetCode
protected function getEmptyLabel() {
}