You are here

function royalsliderfield_theme in RoyalSlider Integration 7

Implements hook_theme().

File

contrib/royalsliderfield/royalsliderfield.module, line 298
RoyalSlider Field module.

Code

function royalsliderfield_theme($existing, $type, $theme, $path) {
  return array(
    'royalsliderfield' => array(
      'variables' => array(
        'royalslider_id' => '',
        'optionset' => 'default',
        'skin' => '',
        'slides' => array(),
      ),
      'template' => 'royalsliderfield',
    ),
    'royalsliderfield_slide' => array(
      'variables' => array(
        'royalslider_id' => '',
        'optionset' => 'default',
        'slide' => NULL,
      ),
      'template' => 'royalsliderfield-slide',
    ),
  );
}