You are here

function phonefield_field_formatter_info in Phone Field 7

Implements hook_field_formatter_info().

File

./phonefield.module, line 340
Hooks for a module that defines a simple phone number field type.

Code

function phonefield_field_formatter_info() {
  return array(
    'phonefield_default' => array(
      'label' => t('Phone link (default)'),
      'field types' => array(
        'phonefield_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'phonefield_separate_link' => array(
      'label' => t('Label: phone link'),
      'field types' => array(
        'phonefield_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'phonefield_separate_plain' => array(
      'label' => t('Label: phone number'),
      'field types' => array(
        'phonefield_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'phonefield_plain' => array(
      'label' => t('Phone number'),
      'field types' => array(
        'phonefield_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
  );
}