You are here

function telephone_field_info_alter in Telephone 7

Implements hook_field_info_alter().

File

./telephone.module, line 26
Defines a simple telephone number field type.

Code

function telephone_field_info_alter(&$info) {
  if (module_exists('text')) {
    $info['telephone']['default_formatter'] = 'text_plain';
  }
}