You are here

function field_nif_property_field_item_nif_info in Field NIF 7

Defines the data structure used for field nif items.

1 call to field_nif_property_field_item_nif_info()
field_nif_property_info_callback in ./field_nif.module
Callback to alter the property info of nif fields.

File

./field_nif.module, line 200

Code

function field_nif_property_field_item_nif_info($field_type) {
  return array(
    'nif' => array(
      'type' => 'string',
      'label' => $field_type['label'],
      'description' => t('The NIF/CIF/DNI number.'),
      'getter callback' => 'field_nif_property_get',
    ),
  );
}