taxonomy_field_build_modes

Versions
7
taxonomy_field_build_modes($obj_type)

Implements hook_field_build_modes().

@TODO: build mode for display as a field (when attached to nodes etc.).

Code

modules/taxonomy/taxonomy.module, line 185

<?php
function taxonomy_field_build_modes($obj_type) {
  $modes = array();
  if ($obj_type == 'term') {
    $modes = array(
      'full' => t('Taxonomy term page'),
    );
  }
  return $modes;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.