function telephone_formatter_field_formatter_info in Telephone Formatter 7
Implements hook_field_formatter_info().
File
- ./
telephone_formatter.module, line 9
Code
function telephone_formatter_field_formatter_info() {
return array(
'telephone_formatter' => array(
'label' => t('Formatted telephone'),
'field types' => array(
'telephone',
),
'settings' => array(
'format' => PhoneNumberFormat::INTERNATIONAL,
'link' => TRUE,
'default_country' => NULL,
),
),
);
}