You are here

function _twitter_filter_link in Twitter 7.4

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

Callback for twitter link converter.

1 call to _twitter_filter_link()
twitter_views_handler_field_xss::render in ./twitter_views_field_handlers.inc
Processes the message through the selected options.
1 string reference to '_twitter_filter_link'
twitter_filter_info in ./twitter.module
Implements hook_filter_info().

File

./twitter.module, line 269
Provides API integration with the Twitter microblogging service.

Code

function _twitter_filter_link($text, $filter) {
  return str_replace("<a ", '<a target="_blank" rel="nofollow" ', $text);
}