function twitter_user_settings in Twitter 7.3
Same name and namespace in other branches
- 6.5 twitter.pages.inc \twitter_user_settings()
- 6.2 twitter.pages.inc \twitter_user_settings()
- 6.3 twitter.pages.inc \twitter_user_settings()
- 6.4 twitter.pages.inc \twitter_user_settings()
- 7.6 twitter.pages.inc \twitter_user_settings()
- 7.4 twitter.pages.inc \twitter_user_settings()
- 7.5 twitter.pages.inc \twitter_user_settings()
@todo Please document this function.
See also
1 string reference to 'twitter_user_settings'
- twitter_menu in ./
twitter.module - Implements hook_menu().
File
- ./
twitter.pages.inc, line 85 - Page callbacks for Twitter module.
Code
function twitter_user_settings($account) {
module_load_include('inc', 'twitter');
$output = array();
if (!empty($account->twitter_accounts)) {
$output['list_form'] = drupal_get_form('twitter_account_list_form', $account->twitter_accounts);
}
$output['form'] = drupal_get_form('twitter_account_form', $account);
return $output;
}