You are here

function video_embed_field_theme in Video Embed Field 7.2

Same name and namespace in other branches
  1. 8.2 video_embed_field.module \video_embed_field_theme()
  2. 8 video_embed_field.module \video_embed_field_theme()

Implements hook_theme().

File

./video_embed_field.module, line 134
Provides a simple field for easily embedding videos from youtube or vimeo

Code

function video_embed_field_theme() {
  return array(
    // Theme functions in video_embed_field.admin.inc.
    'video_embed_field_video_style_list' => array(
      'variables' => array(
        'styles' => NULL,
      ),
    ),
    'video_embed_field_embed_code' => array(
      'template' => 'video-embed-field-embed-code',
      'variables' => array(
        'url' => NULL,
        'style' => 'normal',
        'video_data' => array(),
      ),
    ),
    'video_embed_field_colorbox_code' => array(
      'variables' => array(
        'image_url' => NULL,
        'image_style' => 'normal',
        'image_alt' => NULL,
        'video_url' => NULL,
        'video_style' => NULL,
        'video_data' => array(),
      ),
    ),
  );
}