You are here

function vat_number_field_formatter_info in VAT Number 7

Implements hook_field_formatter_info().

File

./vat_number.module, line 31
Define a VAT Number field for use on Drupal Commerce Customer Profiles.

Code

function vat_number_field_formatter_info() {
  return array(
    // This formatter just displays the text value.
    'vat_number_formatter' => array(
      'label' => t('Simple text-based formatter'),
      'field types' => array(
        'vat_number',
      ),
    ),
  );
}