You are here

twitter.module in Twitter 8

Allows integration with the Twitter microblogging service.

File

twitter.module
View source
<?php

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * @file
 * Allows integration with the Twitter microblogging service.
 */

/**
 * Implements hook_help().
 */
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',
      ]);
  }
}

Functions

Namesort descending Description
twitter_help Implements hook_help().