You are here

public function CheckboxTreeLevel::getInfo in Taxonomy Term Reference Tree Widget 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 ElementInterface::getInfo

File

src/Element/CheckboxTreeLevel.php, line 17

Class

CheckboxTreeLevel
Provides a form element for term reference tree.

Namespace

Drupal\term_reference_tree\Element

Code

public function getInfo() {
  return array(
    '#input' => FALSE,
    '#theme' => 'checkbox_tree_level',
  );
}