You are here

function phone_link_field_formatter_info in Phone link 7

Implements hook_field_formatter_info().

File

./phone_link.module, line 6

Code

function phone_link_field_formatter_info() {
  return array(
    'phone_link' => array(
      'label' => t('Phone link'),
      'field types' => array(
        'text',
      ),
      'settings' => array(
        'title' => t('Call to @phone'),
        'text' => '',
        'type' => 'tel',
      ),
    ),
  );
}