public function WebformTermSelect::getInfo in Webform 8.5
Same name and namespace in other branches
- 6.x 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\ElementCode
public function getInfo() {
return [
'#vocabulary' => '',
'#tree_delimiter' => '-',
'#breadcrumb' => FALSE,
'#breadcrumb_delimiter' => ' › ',
'#depth' => NULL,
] + parent::getInfo();
}