function tweet_to_twitter in Tweet 5
Same name and namespace in other branches
- 5.2 tweet.module \tweet_to_twitter()
- 6.4 tweet.module \tweet_to_twitter()
- 6 tweet.module \tweet_to_twitter()
- 6.2 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 67 - Builds links to post pages to twitter.
Code
function tweet_to_twitter($type = 'icon', $title = TRUE, $nid = '', $q = '') {
$array = _tweet_to_twitter($type, $title, $nid, $q);
return l($array['title'], $array['href'], $array['attributes'], $array['query'], NULL, TRUE, $array['html']);
}