function drupagram_views_data_alter in Drupagram 7
Same name and namespace in other branches
- 6 views/drupagram.views.inc \drupagram_views_data_alter()
@todo Please document this function.
See also
Related topics
File
- ./
drupagram.views.inc, line 308 - 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',
);
}