function farm_area_views_data_alter in farmOS 7
Implements hook_views_data_alter().
File
- modules/
farm/ farm_area/ farm_area.views.inc, line 11 - Farm Area Views data.
Code
function farm_area_views_data_alter(&$data) {
// Add a field for farm area details.
$data['taxonomy_term_data']['farm_area_details'] = array(
'field' => array(
'title' => t('Area Details'),
'help' => t('Details that are relevant to farm areas.'),
'handler' => 'farm_area_handler_field_details',
),
);
// Add a field for farm area links.
$data['taxonomy_term_data']['farm_area_links'] = array(
'field' => array(
'title' => t('Area Links'),
'help' => t('Links that are relevant to farm areas.'),
'handler' => 'farm_area_handler_field_links',
),
);
}