You are here

protected function ViewsReferenceSelectWidget::getEmptyLabel in Views Reference Field 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/ViewsReferenceSelectWidget.php, line 28

Class

ViewsReferenceSelectWidget
Plugin implementation of the 'options_select' widget.

Namespace

Drupal\viewsreference\Plugin\Field\FieldWidget

Code

protected function getEmptyLabel() {
}