function drupagram_views_data_alter in Drupagram 6
Same name and namespace in other branches
- 7 drupagram.views.inc \drupagram_views_data_alter()
@todo Please document this function.
See also
Related topics
File
- views/
drupagram.views.inc, line 334 - Provide views data and handlers for drupagram.module
Code
function drupagram_views_data_alter(&$data) {
$data['users']['table']['join']['drupagram'] = array(
'left_table' => 'drupagram_account',
'left_field' => 'uid',
'field' => 'uid',
);
$data['users']['table']['join']['drupagram_account'] = array(
// 'left_table' => 'drupagram_user',
'left_field' => 'username',
'field' => 'username',
);
}