You are here

function twitter_user in Twitter 6.3

Same name and namespace in other branches
  1. 5 twitter.module \twitter_user()
  2. 6.5 twitter.module \twitter_user()
  3. 6.2 twitter.module \twitter_user()
  4. 6.4 twitter.module \twitter_user()

Implementation of hook_user().

3 string references to 'twitter_user'
twitter_update_6001 in ./twitter.install
Adding a handful of additional flags on accounts, and saving more metadata when Twitter sends it to us.
twitter_update_6004 in ./twitter.install
Add NOT NULL constraint and DEFAULT value to the screen_name field of the twitter and twitter_user tables per updated schema definition.
twitter_update_6300 in ./twitter.install
Update from 2.x to 3.x

File

./twitter.module, line 84

Code

function twitter_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'categories':
      return array(
        array(
          'name' => 'twitter',
          'title' => t('Twitter accounts'),
          'weight' => 3,
        ),
      );
  }
}