public function WebformEntityOptionsTrait::getElementSelectorSourceValues in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/WebformEntityOptionsTrait.php \Drupal\webform\Plugin\WebformElement\WebformEntityOptionsTrait::getElementSelectorSourceValues()
File
- src/
Plugin/ WebformElement/ WebformEntityOptionsTrait.php, line 69
Class
- WebformEntityOptionsTrait
- Provides an 'entity_reference' with options trait.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function getElementSelectorSourceValues(array $element) {
$this
->setOptions($element);
return parent::getElementSelectorSourceValues($element);
}