You are here

function shrinktheweb_theme in ShrinkTheWeb 8

Same name and namespace in other branches
  1. 6 shrinktheweb.module \shrinktheweb_theme()
  2. 7 shrinktheweb.module \shrinktheweb_theme()

Implementation of hook_theme()

File

./shrinktheweb.module, line 40

Code

function shrinktheweb_theme($existing, $type, $theme, $path) {
  return array(
    'shrinktheweb_image' => array(
      'variables' => array(
        'url' => NULL,
        'custom_width' => NULL,
        'full_length' => NULL,
        'max_height' => NULL,
        'native_resolution' => NULL,
        'widescreen_resolution_y' => NULL,
        'delay' => NULL,
        'quality' => NULL,
      ),
    ),
    'shrinktheweb_image_link' => array(
      'variables' => array(
        'url' => NULL,
        'custom_width' => NULL,
        'full_length' => NULL,
        'max_height' => NULL,
        'native_resolution' => NULL,
        'widescreen_resolution_y' => NULL,
        'delay' => NULL,
        'quality' => NULL,
      ),
    ),
    // -- Link module ----------------------------
    'shrinktheweb_formatter_shrinktheweb_link_default' => array(
      'variables' => array(
        'url' => NULL,
        'title' => NULL,
        'custom_width' => NULL,
        'full_length' => NULL,
        'max_height' => NULL,
        'native_resolution' => NULL,
        'widescreen_resolution_y' => NULL,
        'delay' => NULL,
        'quality' => NULL,
      ),
    ),
    'shrinktheweb_formatter_shrinktheweb_link_plain' => array(
      'variables' => array(
        'url' => NULL,
        'custom_width' => NULL,
        'full_length' => NULL,
        'max_height' => NULL,
        'native_resolution' => NULL,
        'widescreen_resolution_y' => NULL,
        'delay' => NULL,
        'quality' => NULL,
      ),
    ),
    'shrinktheweb_formatter_shrinktheweb_link_url' => array(
      'variables' => array(
        'url' => NULL,
        'custom_width' => NULL,
        'full_length' => NULL,
        'max_height' => NULL,
        'native_resolution' => NULL,
        'widescreen_resolution_y' => NULL,
        'delay' => NULL,
        'quality' => NULL,
      ),
    ),
    'shrinktheweb_formatter_shrinktheweb_link_short' => array(
      'variables' => array(
        'url' => NULL,
        'custom_width' => NULL,
        'full_length' => NULL,
        'max_height' => NULL,
        'native_resolution' => NULL,
        'widescreen_resolution_y' => NULL,
        'delay' => NULL,
        'quality' => NULL,
      ),
    ),
    'shrinktheweb_formatter_shrinktheweb_link_separate' => array(
      'variables' => array(
        'url' => NULL,
        'title' => NULL,
        'custom_width' => NULL,
        'full_length' => NULL,
        'max_height' => NULL,
        'native_resolution' => NULL,
        'widescreen_resolution_y' => NULL,
        'delay' => NULL,
        'quality' => NULL,
      ),
    ),
    'shrinktheweb_modules_fieldset' => array(
      'render element' => 'form',
    ),
  );
}