function media_soundcloud_theme in Media: SoundCloud 7
Same name and namespace in other branches
- 7.2 media_soundcloud.module \media_soundcloud_theme()
Implements hook_theme().
File
- ./
media_soundcloud.module, line 59 - media_soundcloud/media_soundcloud.module
Code
function media_soundcloud_theme($existing, $type, $theme, $path) {
return array(
'media_soundcloud_preview_style' => array(
'variables' => array(
'style_name' => NULL,
),
'file' => 'media_soundcloud.theme.inc',
'path' => $path . '/includes/themes',
),
'media_soundcloud_field_formatter_styles' => array(
'variables' => array(
'element' => NULL,
'style' => NULL,
),
'file' => 'media_soundcloud.theme.inc',
'path' => $path . '/includes/themes',
),
'media_soundcloud_audio' => array(
'variables' => array(
'uri' => NULL,
'width' => NULL,
'autoplay' => NULL,
'extra_params' => NULL,
),
'file' => 'media_soundcloud.theme.inc',
'path' => $path . '/includes/themes',
'template' => 'media-soundcloud-audio',
),
'media_soundcloud_embed' => array(
'variables' => array(
'style_name' => NULL,
'uri' => NULL,
'alt' => NULL,
'title' => NULL,
),
'file' => 'media_soundcloud.theme.inc',
'path' => $path . '/includes/themes',
),
'media_soundcloud_styles' => array(
'variables' => array(
'element' => NULL,
'style' => NULL,
),
'file' => 'media_soundcloud.theme.inc',
'path' => $path . '/includes/themes',
),
);
}