You are here

public function TaxonomyDisplayTermDisplayHandlerHidden::formFieldset in Taxonomy display 7

Set a description when the user selects this option.

Overrides TaxonomyDisplayHandlerForm::formFieldset

See also

TaxonomyDisplayHandlerForm::formFieldset()

File

handlers/term/hidden.inc, line 21

Class

TaxonomyDisplayTermDisplayHandlerHidden
Add a display handler that will hide the term when viewed.

Code

public function formFieldset(&$form, &$values, $options = NULL) {
  $form['#description'] = t('The term will not be displayed to the user when viewed. Leaving only the title and associated content.');
}