You are here

protected function WebformTermCheckboxes::getElementSelectorInputsOptions in Webform 6.x

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

Get an element's (sub)inputs selectors as options.

Parameters

array $element: An element.

Return value

array An array of element (sub)input selectors.

Overrides WebformEntityOptionsTrait::getElementSelectorInputsOptions

File

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

Class

WebformTermCheckboxes
Provides a 'webform_term_checkboxes' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function getElementSelectorInputsOptions(array $element) {
  static::setOptions($element);
  return parent::getElementSelectorInputsOptions($element);
}