You are here

function brazilianids_field_info in Brazilian IDs 6

Implementation of hook_field_info().

File

./brazilianids_cck.inc, line 15
brazilianids_cck.inc Deal with brazilian IDs like CPF and CNPJ as CCK fields.

Code

function brazilianids_field_info() {
  return array(
    'brazilianids_cpf' => array(
      'label' => t('CPF'),
    ),
    'brazilianids_cnpj' => array(
      'label' => t('CNPJ'),
    ),
    'brazilianids_cpfcnpj' => array(
      'label' => t('CPF / CNPJ'),
    ),
  );
}