function tweet_tweet_sites in Tweet 6.4
Same name and namespace in other branches
- 7.4 tweet.module \tweet_tweet_sites()
Implementation of hook_tweet_sites().
File
- ./
tweet.module, line 85 - Builds links to post pages to Twitter API sites.
Code
function tweet_tweet_sites() {
$default_image_location = drupal_get_path('module', 'tweet') . '/twitter.png';
return array(
'Twitter' => array(
'path' => 'http://twitter.com/',
'query_key' => 'status',
'image' => variable_get('tweet_image', $default_image_location),
),
);
}