You are here

function twitter_edit_access in Twitter 7.4

Same name and namespace in other branches
  1. 6.3 twitter.module \twitter_edit_access()
  2. 6.4 twitter.module \twitter_edit_access()
  3. 7.3 twitter.module \twitter_edit_access()

Access callback for twitter account editing.

1 string reference to 'twitter_edit_access'
twitter_menu in ./twitter.module
Implements hook_menu().

File

./twitter.module, line 65
Provides API integration with the Twitter microblogging service.

Code

function twitter_edit_access($account) {
  return user_edit_access($account) && user_access('add twitter accounts');
}