You are here

function skype_theme in Skype 8

Same name and namespace in other branches
  1. 7 skype.module \skype_theme()

Implements hook_theme().

File

./skype.module, line 22

Code

function skype_theme() {
  return [
    'skype_button' => [
      'variables' => [
        'skype_id' => NULL,
        'settings' => [],
      ],
      'template' => 'skype-button',
    ],
    'skype_uri' => [
      'variables' => [
        'skype_id' => NULL,
        'settings' => [],
      ],
      'template' => 'skype-uri',
    ],
    'skype_chat_canvas' => [
      'variables' => [
        'message_recipient' => NULL,
        'chat_id' => NULL,
        'attributes' => [],
      ],
      'template' => 'skype-chat-canvas',
    ],
  ];
}