You are here

public function ShsTermSelect::getInfo in Webform Simple Hierarchical Select 8

Returns the element properties for this element.

Return value

array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.

Overrides Select::getInfo

File

src/Element/ShsTermSelect.php, line 26

Class

ShsTermSelect
Provides a webform element for an shs term select menu.

Namespace

Drupal\webform_shs\Element

Code

public function getInfo() {
  return [
    '#vocabulary' => '',
    '#force_deepest' => FALSE,
    '#force_deepest_error' => '',
    '#cache_options' => FALSE,
    '#depth_labels' => [],
    '#addNewLabel' => '',
  ] + parent::getInfo();
}