You are here

function oembed_theme in oEmbed 7

Same name and namespace in other branches
  1. 8 oembed.module \oembed_theme()
  2. 7.0 oembed.module \oembed_theme()

Implements of hook_theme().

File

./oembed.module, line 140
Core functionality for oEmbed

Code

function oembed_theme($existing, $type, $theme, $path) {
  return array(
    'oembed' => array(
      'file' => 'oembed.theme.inc',
      'path' => $path . '/theme',
      'variables' => array(
        'embed' => NULL,
      ),
    ),
    'oembed__photo' => array(
      'variables' => array(
        'embed' => NULL,
      ),
      'base hook' => 'oembed',
    ),
    'oembed__rich' => array(
      'variables' => array(
        'embed' => NULL,
      ),
      'base hook' => 'oembed',
    ),
    'oembed__video' => array(
      'variables' => array(
        'embed' => NULL,
      ),
      'base hook' => 'oembed',
    ),
  );
}