You are here

public function WebformTermCheckboxes::getInfo in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Element/WebformTermCheckboxes.php \Drupal\webform\Element\WebformTermCheckboxes::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 Checkboxes::getInfo

File

src/Element/WebformTermCheckboxes.php, line 20

Class

WebformTermCheckboxes
Provides a webform element for term checkboxes.

Namespace

Drupal\webform\Element

Code

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