function youtubechannel_theme in YoutubeChannel 8.2
Same name and namespace in other branches
- 8.3 youtubechannel.module \youtubechannel_theme()
- 8 youtubechannel.module \youtubechannel_theme()
- 6 youtubechannel.module \youtubechannel_theme()
- 7.2 youtubechannel.module \youtubechannel_theme()
- 7 youtubechannel.module \youtubechannel_theme()
Implements hook_theme().
File
- ./
youtubechannel.module, line 104 - Contains youtubechannel.module.
Code
function youtubechannel_theme($existing, $type, $theme, $path) {
$channel_data = youtubechannelvideo();
return array(
'youtubechannel_block' => array(
'variables' => array(
'youtube_content' => $channel_data,
),
),
);
}