You are here

protected function WebformEntityOptionsTrait::getElementSelectorInputsOptions in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformEntityOptionsTrait.php \Drupal\webform\Plugin\WebformElement\WebformEntityOptionsTrait::getElementSelectorInputsOptions()
1 method overrides WebformEntityOptionsTrait::getElementSelectorInputsOptions()
WebformTermCheckboxes::getElementSelectorInputsOptions in src/Plugin/WebformElement/WebformTermCheckboxes.php
Get an element's (sub)inputs selectors as options.

File

src/Plugin/WebformElement/WebformEntityOptionsTrait.php, line 61

Class

WebformEntityOptionsTrait
Provides an 'entity_reference' with options trait.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function getElementSelectorInputsOptions(array $element) {
  $this
    ->setOptions($element);
  return parent::getElementSelectorInputsOptions($element);
}