You are here

function hook_taxonomy_display_plugins in Taxonomy display 7

Provide plugins to taxonomy_display.

Return value

An associative array containing 'associated' and 'term' arrays listing plugins for taxonomy_display to call. Within each array another associative array is provided where each key is a class name of the handler and the value is displayed to the administrator when selecting the plugin. Note that any class names provided must have their file listed in the containing module's .info file so that the class can be auto loaded.

See also

taxonomy_display_plugins()

taxonomy_display_taxonomy_display_plugins()

1 function implements hook_taxonomy_display_plugins()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

taxonomy_display_taxonomy_display_plugins in ./taxonomy_display.module
Implements hook_taxonomy_display_plugins().
1 invocation of hook_taxonomy_display_plugins()
taxonomy_display_plugins in ./taxonomy_display.module
Retrieve an array of Taxonomy Display plugins.

File

./taxonomy_display.api.php, line 49
Hooks provided by the taxonomy_display module.

Code

function hook_taxonomy_display_plugins() {
  return array(
    'associated' => array(
      'HookAssociatedDisplayHandlerImplementingClassName' => t('My term display handler'),
    ),
    'term' => array(
      'HookTermDisplayHandlerImplementingClassName' => t('My associated display handler'),
    ),
  );
}