You are here

abstract class TaxonomyDisplayTermDisplayHandler in Taxonomy display 7

Abstract class for exposing term display to manipulation.

Hierarchy

Expanded class hierarchy of TaxonomyDisplayTermDisplayHandler

File

classes/term_display.inc, line 6

View source
abstract class TaxonomyDisplayTermDisplayHandler extends TaxonomyDisplayHandlerForm {

  /**
   * Render the output to be displayed when the user views the taxonomy term.
   *
   * @param termObject $term
   *   The taxonomy term to be displayed.
   * @param mixed $options
   *   The data that was stored on behalf of the handler resulting from the
   *   return of the TaxonomyDisplayHandlerForm::formSubmit implementation.
   *
   * @return array
   *   The build the user will see when viewing the term.
   *
   * @see TaxonomyDisplayHandlerForm::formSubmit()
   * @see taxonomy_term_page()
   */
  public abstract function displayTerm($term, $options = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
TaxonomyDisplayHandlerForm::formFieldset abstract public function Prepare the form that users will configure. 7
TaxonomyDisplayHandlerForm::formSubmit public function Perform any processing desired and return the result to be stored. 7
TaxonomyDisplayHandlerForm::formValidate public function Perform validation on the custom formFieldset when the user submits. 1
TaxonomyDisplayTermDisplayHandler::displayTerm abstract public function Render the output to be displayed when the user views the taxonomy term. 2