You are here

public function YamlFormTableSelectSort::getElementSelectorOptions in YAML Form 8

Get an element's selectors as options.

Parameters

array $element: An element.

Return value

array An array of element selectors.

Overrides YamlFormElementBase::getElementSelectorOptions

File

src/Plugin/YamlFormElement/YamlFormTableSelectSort.php, line 52

Class

YamlFormTableSelectSort
Provides a 'yamlform_tableselect_sort' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getElementSelectorOptions(array $element) {
  return $this
    ->getTableSelectElementSelectorOptions($element, '[checkbox]');
}