protected function OptionsWidgetBase::supportsGroups in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php \Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsWidgetBase::supportsGroups()
Indicates whether the widgets support optgroups.
Return value
bool TRUE if the widget supports optgroups, FALSE otherwise.
1 call to OptionsWidgetBase::supportsGroups()
- OptionsWidgetBase::getOptions in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ OptionsWidgetBase.php - Returns the array of options for the widget.
1 method overrides OptionsWidgetBase::supportsGroups()
- OptionsSelectWidget::supportsGroups in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ OptionsSelectWidget.php - Indicates whether the widgets support optgroups.
File
- core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ OptionsWidgetBase.php, line 182 - Contains \Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsWidgetBase.
Class
- OptionsWidgetBase
- Base class for the 'options_*' widgets.
Namespace
Drupal\Core\Field\Plugin\Field\FieldWidgetCode
protected function supportsGroups() {
return FALSE;
}