You are here

public function WebformTermSelect::getInfo in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Element/WebformTermSelect.php \Drupal\webform\Element\WebformTermSelect::getInfo()

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/WebformTermSelect.php, line 20

Class

WebformTermSelect
Provides a webform element for a term select menu.

Namespace

Drupal\webform\Element

Code

public function getInfo() {
  return [
    '#vocabulary' => '',
    '#tree_delimiter' => '-',
    '#breadcrumb' => FALSE,
    '#breadcrumb_delimiter' => ' › ',
    '#depth' => NULL,
  ] + parent::getInfo();
}