You are here

CheckboxTreeLevel.php in Taxonomy Term Reference Tree Widget 8

File

src/Element/CheckboxTreeLevel.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_level")
 */
class CheckboxTreeLevel extends FormElement {

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

}

Classes

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