function tweetbutton_help in Tweet Button 7
Same name and namespace in other branches
- 8 tweetbutton.module \tweetbutton_help()
- 6 tweetbutton.module \tweetbutton_help()
- 7.2 tweetbutton.module \tweetbutton_help()
Implementation of hook_help()
File
- ./
tweetbutton.module, line 6
Code
function tweetbutton_help($path, $arg) {
$output = NULL;
switch ($path) {
case 'admin/help#tweetbutton':
$output = 'This button allows your website to let people share content on Twitter without having to leave the page. Promote strategic Twitter accounts at the same time while driving traffic to your website.';
break;
case 'admin/config/services/tweetbutton':
$output = '<p>' . t('This button allows your website to let people share content on Twitter without having to leave the page. Promote strategic Twitter accounts at the same time while driving traffic to your website. These are the general configuration options for the button. Make sure to check the Node Settings to set where the button will appear.') . '</p>';
break;
case 'admin/config/services/tweetbutton/node':
$output = '<p>' . t('Select the node types and location on which the Tweet Button will appear.') . '</p>';
break;
}
return $output;
}