CheckboxTreeItem.php 404 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Drupal\term_reference_tree\Element;
  3. use Drupal\Core\Render\Element\FormElement;
  4. /**
  5. * Provides a form element for term reference tree.
  6. *
  7. * @FormElement("checkbox_tree_item")
  8. */
  9. class CheckboxTreeItem extends FormElement {
  10. /**
  11. * {@inheritdoc}
  12. */
  13. public function getInfo() {
  14. return array(
  15. '#input' => FALSE,
  16. '#theme' => 'checkbox_tree_item',
  17. );
  18. }
  19. }