You are here

function field_nif_field_widget_info in Field NIF 7

Implements hook_field_widget_info().

File

./field_nif.module, line 28

Code

function field_nif_field_widget_info() {
  return array(
    'nif_data' => array(
      'label' => t('NIF/CIF/NIE'),
      'field types' => array(
        'nif',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
  );
}