You are here

function rotor_menu in Rotor Banner 5

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

Implementation of hook_menu().

File

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

Code

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