Returns the empty option to add to the list of options, if any.
Return value
string|null
Either static::OPTIONS_EMPTY_NONE, static::OPTIONS_EMPTY_SELECT, or NULL.
File
- drupal/core/modules/options/lib/Drupal/options/Plugin/field/widget/OptionsWidgetBase.php, line 223
- Contains \Drupal\options\Plugin\field\widget\OptionsWidgetBase.
Class
- OptionsWidgetBase
- Base class for the 'options_*' widgets.
Namespace
Drupal\options\Plugin\field\widget
Code
protected function getEmptyOption() {
}