You are here

function field_slideshow_theme in Field Slideshow 7

Same name and namespace in other branches
  1. 8.3 field_slideshow.module \field_slideshow_theme()
  2. 8 field_slideshow.module \field_slideshow_theme()
  3. 8.2 field_slideshow.module \field_slideshow_theme()
  4. 7.2 field_slideshow.module \field_slideshow_theme()

Implements hook_theme().

File

./field_slideshow.module, line 843
Implement a slideshow formatter for fields.

Code

function field_slideshow_theme() {
  return array(
    'field_slideshow' => array(
      'variables' => array(
        'items' => NULL,
        'image_style' => NULL,
        'order' => NULL,
        'controls' => NULL,
        'controls_pause' => NULL,
        'controls_position' => NULL,
        'pager' => NULL,
        'pager_position' => NULL,
        'pager_image_style' => NULL,
        'carousel_image_style' => NULL,
        'entity' => NULL,
        'breakpoints' => NULL,
        'slideshow_id' => NULL,
        'js_variables' => array(),
      ),
      'template' => 'field_slideshow',
    ),
    'field_slideshow_controls' => array(
      'variables' => array(
        'slideshow_id' => NULL,
        'controls_pause' => NULL,
      ),
      'template' => 'field_slideshow_controls',
    ),
    'field_slideshow_pager' => array(
      'variables' => array(
        'items' => NULL,
        'pager' => NULL,
        'pager_image_style' => NULL,
        'carousel_image_style' => NULL,
        'slideshow_id' => NULL,
        'carousel_skin' => NULL,
      ),
      'template' => 'field_slideshow_pager',
    ),
  );
}