You are here

function twitter_user in Twitter 6.2

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

Implementation of hook_user().

5 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_user_save in ./twitter.inc
twitter_views_data in ./twitter.views.inc
Implementation of hook_views_data()
twitter_views_data_alter in ./twitter.views.inc

File

./twitter.module, line 42

Code

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