You are here

function royalslider_theme in RoyalSlider Integration 7

Same name and namespace in other branches
  1. 8 royalslider.module \royalslider_theme()

Implements hook_theme().

File

./royalslider.module, line 86
RoyalSlider module.

Code

function royalslider_theme($existing, $type, $theme, $path) {
  return array(
    'royalslider' => array(
      'variables' => array(
        'royalslider_id' => '',
        'optionset' => 'default',
        'skin' => '',
        'items' => array(),
      ),
      'path' => $path . '/theme',
      'template' => 'royalslider',
      'file' => 'royalslider.theme.inc',
    ),
    'royalslider_item' => array(
      'variables' => array(
        'royalslider_id' => '',
        'optionset' => 'default',
        'item' => NULL,
      ),
      'path' => $path . '/theme',
      'template' => 'royalslider-item',
      'file' => 'royalslider.theme.inc',
    ),
  );
}