You are here

function twitter_views_data_alter in Twitter 6.3

Same name and namespace in other branches
  1. 6.5 twitter.views.inc \twitter_views_data_alter()
  2. 6.2 twitter.views.inc \twitter_views_data_alter()
  3. 6.4 twitter.views.inc \twitter_views_data_alter()
  4. 7.6 twitter.views.inc \twitter_views_data_alter()
  5. 7.3 twitter.views.inc \twitter_views_data_alter()
  6. 7.4 twitter.views.inc \twitter_views_data_alter()
  7. 7.5 twitter.views.inc \twitter_views_data_alter()

Related topics

File

./twitter.views.inc, line 364
Provide views data and handlers for twitter.module

Code

function twitter_views_data_alter(&$data) {
  $data['users']['table']['join']['twitter'] = array(
    'left_table' => 'twitter_account',
    'left_field' => 'uid',
    'field' => 'uid',
  );
  $data['users']['table']['join']['twitter_account'] = array(
    //    'left_table' => 'twitter_user',
    'left_field' => 'uid',
    'field' => 'uid',
  );
}