You are here

public function WebformElement::getElementSelectorOptions in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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\WebformElement

Code

public function getElementSelectorOptions(array $element) {
  return [];
}