function tweet_tweet_sites in Tweet 7.4
Same name and namespace in other branches
- 6.4 tweet.module \tweet_tweet_sites()
Implements hook_tweet_sites().
File
- ./
tweet.module, line 89 - Builds links to post pages to Twitter API sites.
Code
function tweet_tweet_sites() {
$path = drupal_get_path('module', 'tweet');
return array(
'Twitter' => array(
'path' => 'http://twitter.com/',
'query_key' => 'status',
'image' => variable_get('tweet_image', $path . '/twitter.png'),
),
'Identi.ca' => array(
'path' => 'http://identi.ca/notice/new',
'query_key' => 'status_textarea',
'image' => variable_get('tweet_identica_image', $path . '/identica.png'),
),
);
}