function rotor_menu in Rotor Banner 5.7
Same name and namespace in other branches
- 5 rotor.module \rotor_menu()
- 6 rotor.module \rotor_menu()
Menu Hook
File
- ./
rotor.module, line 68 - 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('Administer the Rotor Banner'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'rotor_admin_form',
),
'access' => user_access('administer rotor'),
);
}
return $items;
}