You are here

function twitter_embed_help in Twitter Embed 8

Implements hook_help().

File

./twitter_embed.module, line 13
Contains twitter_embed.module.

Code

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

    // Main module help for the twitter_embed module.
    case 'help.page.twitter_embed':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';

      // @todo complete help with Twitter references
      // - https://publish.twitter.com/
      // - https://dev.twitter.com/web/overview
      $output .= '<p>' . t('Simple embed of Twitter widgets, without OAuth.') . '</p>';
      return $output;
    default:
  }
}