You are here

function tweet_feed_help in Tweet Feed 4.x

Same name and namespace in other branches
  1. 8.3 tweet_feed.module \tweet_feed_help()
  2. 7.3 tweet_feed.module \tweet_feed_help()

Implements hook_help().

File

./tweet_feed.module, line 13
Contains tweet_feed.module.

Code

function tweet_feed_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the tweet_feed module.
    case 'help.page.tweet_feed':
      $output = '<h4>' . t('Overview') . '</h4>';
      $output .= '<p>' . t('The Tweet Feed module is an advanced importing, displaying and data association module that allows you to pull in tweets by search, user, or list. The parameters of what is pulled in falls under the guidelines of ') . '<a href="https://developer.twitter.com/en/docs/rate-limits">' . t('Twitter\'s REST API') . '.</a></p>';
      $output .= '<p>' . t('Tweets can be displayed as nodes or in views as well as displayed by hash tag or user mention. All hash tags and user mentions are stored as references im the tweet nodes to their corresponding taxonomy term. This gives you great power in terms of displaying tweets with specific content in specific places by leveraging the power of contextual filters and taxonomies.</p>');
      return $output;
      break;
    default:
      break;
  }
}