function rotor_help in Rotor Banner 7
Same name and namespace in other branches
- 5.7 rotor.module \rotor_help()
- 5 rotor.module \rotor_help()
- 6.2 rotor.module \rotor_help()
- 6 rotor.module \rotor_help()
Implementation of hook_help().
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_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.' . ' The Rotor item will have a tab text that can be configured to be shown or not' . ' in the administration page for the rotor.' . ' The item will show the image if this one is chosen otherwise will show the' . ' content.') . '</p>';
if (user_access('administer rotor')) {
$text .= t('One Rotor block is provided by default and can be configured through' . ' the Views interface <a href="@link">here</a>. You may create as many additional' . ' blocks as you like through the Views interface.', array(
'@link' => url('admin/build/views/edit/rotor'),
));
}
return $text;
}
}