function rotor_help in Rotor Banner 5
Same name and namespace in other branches
- 5.7 rotor.module \rotor_help()
- 6.2 rotor.module \rotor_help()
- 6 rotor.module \rotor_help()
- 7 rotor.module \rotor_help()
Implementation of hook_help().
File
- ./
rotor.module, line 43 - A rotor banner consists in a set of images that will be changing. This module is made using jquery.
Code
function rotor_help($section) {
switch ($section) {
case 'node/add/rotor-item':
$text = '<p>' . t('A Rotor item is a banner that will appear in the rotor block for advertising' . ' or display important information or images.<br />' . 'The Rotor item will have a tab text that can be configured to be shown or not' . ' in the administration page for the rotor.<br />' . 'The item will show the image if this one is chosen otherwise will show the' . ' content.') . '</p>';
if (user_access('administer rotor')) {
$text .= t('You can go to the rotor administration page <a href="@link">here</a>', array(
'@link' => url('admin/settings/rotor'),
));
}
return $text;
}
}