protected function OptionsShsWidget::supportsGroups in Simple hierarchical select 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldWidget/OptionsShsWidget.php \Drupal\shs\Plugin\Field\FieldWidget\OptionsShsWidget::supportsGroups()
Indicates whether the widgets support optgroups.
Return value
bool TRUE if the widget supports optgroups, FALSE otherwise.
Overrides OptionsSelectWidget::supportsGroups
File
- src/
Plugin/ Field/ FieldWidget/ OptionsShsWidget.php, line 353
Class
- OptionsShsWidget
- Plugin implementation of the 'options_shs' widget.
Namespace
Drupal\shs\Plugin\Field\FieldWidgetCode
protected function supportsGroups() {
// We do not support optgroups.
return FALSE;
}