Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $data['gov_data_bill']['sponsor'] = array(
- 'title' => t('Sponsor'),
- 'help' => t('The ID of the sponsor to this bill.'),
- 'field' => array(
- 'handler' => 'views_handler_field_numeric',
- 'click sortable' => TRUE,
- ),
- 'filter' => array(
- 'handler' => 'views_handler_filter_numeric',
- ),
- 'sort' => array(
- 'handler' => 'views_handler_sort',
- ),
- 'relationship' => array(
- 'base' => 'gov_data_person',
- 'base field' => 'id',
- 'handler' => 'views_handler_relationship',
- 'label' => t('Cosponsor'),
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement