You are here

function twitter_help in Twitter 8

Same name and namespace in other branches
  1. 7.6 twitter.module \twitter_help()
  2. 7.5 twitter.module \twitter_help()

Implements hook_help().

File

./twitter.module, line 13
Allows integration with the Twitter microblogging service.

Code

function twitter_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.twitter':
      return t('<p>This module provides API integration with the Twitter microblogging service.</p>
        <p>See the <a href=":project_page">project page on Drupal.org</a> for more details.</p>', [
        ':project_page' => 'https://www.drupal.org/project/twitter',
      ]);
  }
}