You are here

function shs_field_formatter_info in Simple hierarchical select 7

Implements hook_field_formatter_info().

File

./shs.module, line 697
Provides an additional widget for term fields to create hierarchical selects.

Code

function shs_field_formatter_info() {
  return array(
    'shs_default' => array(
      'label' => t('Simple hierarchy'),
      'field types' => array(
        'taxonomy_term_reference',
        'entityreference',
      ),
      'settings' => array(
        'linked' => FALSE,
      ),
    ),
  );
}