You are here

protected function ShsTermSelect::setOptions in Webform Simple Hierarchical Select 8

Same name in this branch
  1. 8 src/Element/ShsTermSelect.php \Drupal\webform_shs\Element\ShsTermSelect::setOptions()
  2. 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\WebformElement

Code

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