You are here

CheckboxTreeItem.php in Taxonomy Term Reference Tree Widget 8

File

src/Element/CheckboxTreeItem.php
View 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_item")
 */
class CheckboxTreeItem extends FormElement {

  /**
   * {@inheritdoc}
   */
  public function getInfo() {
    return array(
      '#input' => FALSE,
      '#theme' => 'checkbox_tree_item',
    );
  }

}

Classes

Namesort descending Description
CheckboxTreeItem Provides a form element for term reference tree.