protected function WebformTermSelect::setOptions in Webform 8.5
Same name and namespace in other branches
- 6.x 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\WebformElementCode
protected function setOptions(array &$element) {
TermSelectElement::setOptions($element);
}