public function WebformElement::getElementSelectorOptions in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformElement.php \Drupal\webform\Plugin\WebformElement\WebformElement::getElementSelectorOptions()
Get an element's selectors as options.
Parameters
array $element: An element.
Return value
array An array of element selectors.
Overrides WebformElementBase::getElementSelectorOptions
See also
\Drupal\webform\Entity\Webform::getElementsSelectorSourceOption
File
- src/
Plugin/ WebformElement/ WebformElement.php, line 78
Class
- WebformElement
- Provides a 'generic' element. Used as a fallback.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function getElementSelectorOptions(array $element) {
return [];
}