twitter.module in Twitter 8
Same filename and directory in other branches
Allows integration with the Twitter microblogging service.
File
twitter.moduleView 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
Name | Description |
---|---|
twitter_help | Implements hook_help(). |