You are here

function skype_preprocess_skype_uri in Skype 8

Implements hook_preprocess_hook().

File

./skype.module, line 89

Code

function skype_preprocess_skype_uri(&$variables) {
  $settings = $variables['settings'];
  $variables['link_text'] = str_replace('[skype:id]', $variables['skype_id'], $settings['link_text']);
  $variables['action'] = $settings['action'] == 'video' ? 'call&video=true' : $settings['action'];
}