protected function WidgetBase::supportsGroups in Select (or other) 4.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldWidget/WidgetBase.php \Drupal\select_or_other\Plugin\Field\FieldWidget\WidgetBase::supportsGroups()
Indicates whether the widgets support optgroups.
@codeCoverageIgnore No need to test a hardcoded value.
Return value
bool TRUE if the widget supports optgroups, FALSE otherwise.
File
- src/
Plugin/ Field/ FieldWidget/ WidgetBase.php, line 224
Class
- WidgetBase
- Base class for the 'select_or_other_*' widgets.
Namespace
Drupal\select_or_other\Plugin\Field\FieldWidgetCode
protected function supportsGroups() {
return FALSE;
}