public function CheckboxTreeItem::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/ CheckboxTreeItem.php, line 17
Class
- CheckboxTreeItem
- Provides a form element for term reference tree.
Namespace
Drupal\term_reference_tree\ElementCode
public function getInfo() {
return array(
'#input' => FALSE,
'#theme' => 'checkbox_tree_item',
);
}