You are here

function youtubechannel_theme in YoutubeChannel 8.3

Same name and namespace in other branches
  1. 8 youtubechannel.module \youtubechannel_theme()
  2. 8.2 youtubechannel.module \youtubechannel_theme()
  3. 6 youtubechannel.module \youtubechannel_theme()
  4. 7.2 youtubechannel.module \youtubechannel_theme()
  5. 7 youtubechannel.module \youtubechannel_theme()

Implements hook_theme().

File

./youtubechannel.module, line 126
Contains hooks for youtubechannel module.

Code

function youtubechannel_theme($existing, $type, $theme, $path) {
  $channel_data = youtubechannelvideo();
  return array(
    'youtubechannel_block' => array(
      'variables' => array(
        'youtube_content' => $channel_data,
      ),
    ),
  );
}