CheckboxTreeLabel.php in Taxonomy Term Reference Tree Widget 8
Namespace
Drupal\term_reference_tree\ElementFile
src/Element/CheckboxTreeLabel.phpView source
<?php
namespace Drupal\term_reference_tree\Element;
use Drupal\Core\Render\Element\FormElement;
/**
* Provides a form element for term reference tree.
*
* @FormElement("checkbox_tree_label")
*/
class CheckboxTreeLabel extends FormElement {
/**
* {@inheritdoc}
*/
public function getInfo() {
return array(
'#input' => FALSE,
'#theme' => 'checkbox_tree_label',
);
}
}
Classes
Name | Description |
---|---|
CheckboxTreeLabel | Provides a form element for term reference tree. |