You are here

CheckboxTreeLabel.php in Taxonomy Term Reference Tree Widget 8

File

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

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

}

Classes

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