You are here

function rotor_theme in Rotor Banner 7

Same name and namespace in other branches
  1. 6.2 rotor.module \rotor_theme()
  2. 6 rotor.module \rotor_theme()

Implementation of hook_theme().

File

./rotor.module, line 302
A rotor banner consists in a set of images that will be changing. This module is made using jquery.

Code

function rotor_theme() {
  $functions = array(
    'rotor_item' => array(
      'arguments' => array(
        'item' => NULL,
        'preset_id' => NULL,
      ),
    ),
    'rotor_tabs' => array(
      'arguments' => array(
        'items' => NULL,
      ),
    ),
    'rotor_tab' => array(
      'arguments' => array(
        'node' => NULL,
      ),
    ),
    'rotor_image' => array(
      'arguments' => array(
        'rotor_item' => NULL,
        'preset_id' => NULL,
      ),
    ),
    'views_view_rotor' => array(
      'arguments' => array(
        'element',
      ),
    ),
  );
  return $functions;
}