You are here

function term_level_field_formatter_info in Term Level Field 7

Implements hook_field_formatter_info().

File

./term_level.module, line 106
Field type for referencing terms with a level to an entity.

Code

function term_level_field_formatter_info() {
  return array(
    'term_level_default' => array(
      'label' => t('Terms with level'),
      'field types' => array(
        'term_level',
      ),
    ),
    'term_level_group' => array(
      'label' => t('Terms grouped by their level'),
      'field types' => array(
        'term_level',
      ),
    ),
  );
}