You are here

function hook_twitter_accounts in Twitter 6.4

Same name and namespace in other branches
  1. 6.5 twitter.api.php \hook_twitter_accounts()
  2. 6.2 twitter.api.php \hook_twitter_accounts()
  3. 6.3 twitter.api.php \hook_twitter_accounts()
  4. 7.6 twitter.api.php \hook_twitter_accounts()
  5. 7.3 twitter.api.php \hook_twitter_accounts()
  6. 7.4 twitter.api.php \hook_twitter_accounts()
  7. 7.5 twitter.api.php \hook_twitter_accounts()

Loads Twitter accounts for a user.

Parameters

$account: stdClass object containing a user account.

Return value

array of stdClass objects with the associated Twitter accounts.

See also

twitter_twitter_accounts()

1 function implements hook_twitter_accounts()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

twitter_twitter_accounts in ./twitter.module
An implementation of hook_twitter_accounts. We want to move this into a separate module eventually, but sticking the code here and using a hook lets other modules solve the 'what accounts can a user post with' problem in cleaner ways.
1 invocation of hook_twitter_accounts()
twitter_get_user_accounts in ./twitter.module
Get a list of twitter accounts available to the current user.

File

./twitter.api.php, line 17
Describe hooks provided by Twitter module.

Code

function hook_twitter_accounts($account) {
}