You are here

protected function WebformTermCheckboxes::setOptions in Webform 6.x

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

Get element options.

Parameters

array $element: An element.

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

Overrides WebformEntityReferenceTrait::setOptions

1 call to WebformTermCheckboxes::setOptions()
WebformTermCheckboxes::getElementSelectorInputsOptions in src/Plugin/WebformElement/WebformTermCheckboxes.php
Get an element's (sub)inputs selectors as options.

File

src/Plugin/WebformElement/WebformTermCheckboxes.php, line 59

Class

WebformTermCheckboxes
Provides a 'webform_term_checkboxes' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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