You are here

function nivo_slider_theme in Nivo Slider 7

Same name and namespace in other branches
  1. 8 nivo_slider.module \nivo_slider_theme()

Implements hook_theme().

4 string references to 'nivo_slider_theme'
nivo_slider_block_view in ./nivo_slider.module
Implements hook_block_view().
nivo_slider_option_configuration_form in ./nivo_slider_options.admin.inc
Configuration form for slider options.
nivo_slider_uninstall in ./nivo_slider.install
Implements hook_uninstall().
template_preprocess_nivo_slider_wrapper in themes/nivo_slider.theme.inc
Implements template_preprocess_hook().

File

./nivo_slider.module, line 230
Primarily Drupal hooks.

Code

function nivo_slider_theme($existing, $type, $theme, $path) {
  return array(
    'nivo_slider_slide_configuration_form' => array(
      'render element' => 'form',
      'file' => 'nivo_slider.theme.inc',
      'path' => $path . '/themes',
    ),
    'nivo_slider_wrapper' => array(
      'variables' => array(
        'theme' => NULL,
        'banners' => NULL,
      ),
      'file' => 'nivo_slider.theme.inc',
      'path' => $path . '/themes',
      'template' => 'nivo-slider-wrapper',
    ),
  );
}