function twitter_get_user_accounts in Twitter 6.3
Same name and namespace in other branches
- 6.2 twitter.inc \twitter_get_user_accounts()
- 6.4 twitter.module \twitter_get_user_accounts()
Get a list of twitter accounts available to the current user.
Return value
Array containing TwitterAccount objects
1 call to twitter_get_user_accounts()
- twitter_post_form in twitter_post/
twitter_post.module - Generate a twitter posting form for the given user.
File
- ./
twitter.module, line 234
Code
function twitter_get_user_accounts($uid) {
$drupal_user = user_load($uid);
return module_invoke_all('twitter_accounts', $drupal_user);
}