You are here

function rotor_menu in Rotor Banner 6

Same name and namespace in other branches
  1. 5.7 rotor.module \rotor_menu()
  2. 5 rotor.module \rotor_menu()

Implementation of hook_menu().

File

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

Code

function rotor_menu() {
  $items = array();
  $items['admin/settings/rotor'] = array(
    'title' => t('Rotor banner'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'rotor_admin_form',
    ),
    'access arguments' => array(
      'administer rotor',
    ),
  );
  return $items;
}