protected function ShsTermSelect::setOptions in Webform Simple Hierarchical Select 8
Same name in this branch
- 8 src/Element/ShsTermSelect.php \Drupal\webform_shs\Element\ShsTermSelect::setOptions()
- 8 src/Plugin/WebformElement/ShsTermSelect.php \Drupal\webform_shs\Plugin\WebformElement\ShsTermSelect::setOptions()
Get element options.
Parameters
array $element: An element.
array $settings: An array of settings used to limit and randomize options.
Overrides WebformTermSelect::setOptions
File
- src/
Plugin/ WebformElement/ ShsTermSelect.php, line 247
Class
- ShsTermSelect
- Provides a 'webform_shs_term_select' Webform element.
Namespace
Drupal\webform_shs\Plugin\WebformElementCode
protected function setOptions(array &$element) {
ShsTermSelectShs::setOptions($element);
}