You are here

function theme_checkbox_tree_label in Taxonomy Term Reference Tree Widget 7

Same name and namespace in other branches
  1. 8 term_reference_tree.module \theme_checkbox_tree_label()
  2. 7.2 term_reference_tree.widget.inc \theme_checkbox_tree_label()

This function prints a label that cannot be selected.

1 theme call to theme_checkbox_tree_label()
term_reference_tree_element_info in ./term_reference_tree.module
Implements hook_element_info().

File

./term_reference_tree.widget.inc, line 461

Code

function theme_checkbox_tree_label($variables) {
  $element = $variables['element'];
  $output = '<div class="parent-term">' . $element['#value'] . '</div>';
  return $output;
}