You are here

function tweetbutton_help in Tweet Button 8

Same name and namespace in other branches
  1. 6 tweetbutton.module \tweetbutton_help()
  2. 7.2 tweetbutton.module \tweetbutton_help()
  3. 7 tweetbutton.module \tweetbutton_help()

Implements hook_help().

File

./tweetbutton.module, line 13
Adds block with tweet and follow buttons.

Code

function tweetbutton_help($path, $arg) {
  switch ($path) {
    case 'admin/help#tweetbutton':
    case 'admin/config/services/tweetbutton':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $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.') . '</p>';
      $output .= '<p>' . t('To add tweetbutton you have to create a tweetbutton field and add it to your content (node, taxonomy, user).') . '</p>';
      return $output;
  }
}