protected function EnumerationSettingTypeBase::emptyOption in UI Patterns Settings 8.2
Returns empty option.
Return value
array The empty option.
1 call to EnumerationSettingTypeBase::emptyOption()
- EnumerationSettingTypeBase::settingsForm in src/
Plugin/ EnumerationSettingTypeBase.php - Returns the configuration form elements specific to this settings plugin..
1 method overrides EnumerationSettingTypeBase::emptyOption()
- ColorWidgetSettingType::emptyOption in src/
Plugin/ UiPatterns/ SettingType/ ColorWidgetSettingType.php - Returns empty option.
File
- src/
Plugin/ EnumerationSettingTypeBase.php, line 19
Class
- EnumerationSettingTypeBase
- Base class for enumerations like radios or select.
Namespace
Drupal\ui_patterns_settings\PluginCode
protected function emptyOption() {
return [
"" => $this
->t("Please select"),
];
}