You are here

protected function EntityReferenceViewsOptionsSelectWidget::supportsGroups in Entity Reference Views Select 8

Indicates whether the widgets support optgroups.

Return value

bool TRUE if the widget supports optgroups, FALSE otherwise.

Overrides OptionsWidgetBase::supportsGroups

File

src/Plugin/Field/FieldWidget/EntityReferenceViewsOptionsSelectWidget.php, line 147

Class

EntityReferenceViewsOptionsSelectWidget
Plugin implementation of the 'erviews_options_select' widget.

Namespace

Drupal\entity_reference_views_select\Plugin\Field\FieldWidget

Code

protected function supportsGroups() {
  return TRUE;
}