You are here

protected function WebformTermSelect::setOptions in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformTermSelect.php \Drupal\webform\Plugin\WebformElement\WebformTermSelect::setOptions()

Get element options.

Parameters

array $element: An element.

array $settings: An array of settings used to limit and randomize options.

Overrides WebformEntityReferenceTrait::setOptions

File

src/Plugin/WebformElement/WebformTermSelect.php, line 49

Class

WebformTermSelect
Provides a 'webform_term_select' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function setOptions(array &$element) {
  TermSelectElement::setOptions($element);
}