function tweet_to_twitter in Tweet 6.2
Same name and namespace in other branches
- 5.2 tweet.module \tweet_to_twitter()
- 5 tweet.module \tweet_to_twitter()
- 6.4 tweet.module \tweet_to_twitter()
- 6 tweet.module \tweet_to_twitter()
- 6.3 tweet.module \tweet_to_twitter()
- 7.4 tweet.module \tweet_to_twitter()
Returns a link from _tweet_to_twitter().
See also
File
- ./
tweet.module, line 64 - Builds links to post pages to twitter.
Code
function tweet_to_twitter($type = 'icon', $title = TRUE, $nid = '') {
$array = _tweet_to_twitter($type, $title, $nid);
return l($array['title'], $array['href'], array(
'attributes' => $array['attributes'],
'query' => $array['query'],
'absolute' => TRUE,
'html' => $array['html'],
));
}