function twitter_load_account_names in Twitter 7.5
Same name and namespace in other branches
- 7.6 twitter.inc \twitter_load_account_names()
Bare list of all account names, keyed by Twitter ID.
Return value
array A list of TwitterUser objects.
1 call to twitter_load_account_names()
- twitter_last_tweet_field_field_widget_form in twitter_last_tweet_field/
twitter_last_tweet_field.module - Implements hook_field_widget_form().
File
- ./
twitter.inc, line 154
Code
function twitter_load_account_names() {
$accounts = array();
foreach (twitter_load_accounts() as $account) {
$accounts[$account->id] = check_plain($account->name);
}
return $accounts;
}