function twitter_filter_tips in Twitter 6.5
Same name and namespace in other branches
- 6.2 twitter.module \twitter_filter_tips()
- 6.3 twitter.module \twitter_filter_tips()
- 6.4 twitter.module \twitter_filter_tips()
Implements hook_filter_tips().
File
- ./
twitter.module, line 276 - Provides API integration with the Twitter microblogging service.
Code
function twitter_filter_tips($delta, $format, $long = FALSE) {
global $base_url;
switch ($delta) {
case 0:
return t('Twitter-style @usersnames are linked to their Twitter account pages.');
case 1:
return t('Twitter-style #hashtags are linked to !url.', array(
'!url' => '<a href="https://twitter.com/">twitter.com</a>',
));
case 2:
return t('Twitter links within a message are opened in new tabs and have nofollo attribute.');
case 3:
return t('Links to Twitter status updates are converted to Embedded Tweets.');
}
}