You are here

public function TaxonomyDisplayAssociatedDisplayHandlerHidden::formFieldset in Taxonomy display 7

Set a description when the user selects this option.

Overrides TaxonomyDisplayHandlerForm::formFieldset

See also

TaxonomyDisplayHandlerForm::formFieldset()

File

handlers/associated/hidden.inc, line 21

Class

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

Code

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