You are here

function vat_number_field_widget_info in VAT Number 7

Implements hook_field_widget_info().

File

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

Code

function vat_number_field_widget_info() {
  return array(
    'vat_number_widget' => array(
      'label' => t('VAT textfield'),
      'settings' => array(
        'skip_validation_on_service_failure' => FALSE,
      ),
      'field types' => array(
        'vat_number',
      ),
    ),
  );
}