You are here

function brazilianids_field_formatter_info in Brazilian IDs 6

Implementation of hook_field_formatter_info().

File

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

Code

function brazilianids_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('Default'),
      'field types' => array(
        'brazilianids_cpf',
        'brazilianids_cnpj',
        'brazilianids_cpfcnpj',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'plain' => array(
      'label' => t('Plain text'),
      'field types' => array(
        'brazilianids_cpf',
        'brazilianids_cnpj',
        'brazilianids_cpfcnpj',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}