You are here

function media_soundcloud_theme in Media: SoundCloud 7.2

Same name and namespace in other branches
  1. 7 media_soundcloud.module \media_soundcloud_theme()

Implements hook_theme().

File

./media_soundcloud.module, line 40
Provides a stream wrapper and formatters appropriate for accessing and displaying SoundCloud audio.

Code

function media_soundcloud_theme($existing, $type, $theme, $path) {
  return array(
    'media_soundcloud_audio' => array(
      'variables' => array(
        'uri' => NULL,
        'options' => array(),
      ),
      'file' => 'media_soundcloud.theme.inc',
      'path' => $path . '/themes',
      'template' => 'media-soundcloud-audio',
    ),
  );
}