You are here

function skype_field_formatter_info in Skype 7

Implements hook_field_formatter_info().

File

./skype.module, line 85

Code

function skype_field_formatter_info() {
  return array(
    'skype_button' => array(
      'label' => t('Skype Button'),
      'field types' => array(
        'skype',
      ),
      'settings' => array(
        'actions' => array(
          'call',
          'chat',
        ),
        'image_color' => 'blue',
        'image_size' => 32,
      ),
    ),
    'skype_uri' => array(
      'label' => t('Skype URI'),
      'field types' => array(
        'skype',
      ),
      'settings' => array(
        'link_text' => t('Skype me'),
        'action' => 'call',
        'show_skype_id' => FALSE,
      ),
    ),
  );
}