-
victoriachan authored
Issue #1057922 by Digeridoo, juhaniemi, victoriachan | casaswing: Fixed Proper use of GMap Taxonomy and Node Marker in Views.
victoriachan authoredIssue #1057922 by Digeridoo, juhaniemi, victoriachan | casaswing: Fixed Proper use of GMap Taxonomy and Node Marker in Views.
gmap_taxonomy.views.inc 724 B
<?php
/**
* @file
* Views data for gmap_taxonomy.
*/
/**
* Implementation of hook_views_data().
*/
function gmap_taxonomy_views_data() {
$data['gmap_taxonomy_node']['table']['group'] = t('Node');
$data['gmap_taxonomy_node']['table']['join'] = array(
'node' => array(
'left_field' => 'nid',
'field' => 'nid',
),
// @@@ Node_revisions?
);
$data['gmap_taxonomy_node']['marker'] = array(
'title' => t('Marker'),
'help' => t('The marker name GMap Taxonomy associates with the node.'),
'field' => array(
'handler' => 'views_handler_field',
'click sortable' => TRUE,
),
'sort' => array(
'handler' => 'views_handler_sort',
),
);
return $data;
}