/[drupal]/contributions/modules/gmap/gmap_taxonomy.views.inc
ViewVC logotype

Contents of /contributions/modules/gmap/gmap_taxonomy.views.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Mon Nov 24 22:31:59 2008 UTC (12 months ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-1-RC1, HEAD
File MIME type: text/x-php
Fix taxonomy markers in views. Part of #327053.
1 <?php
2 // $Id$
3
4 /**
5 * @file
6 * Views data for gmap_taxonomy.
7 */
8
9 /**
10 * Implementation of hook_views_data().
11 */
12 function gmap_taxonomy_views_data() {
13 $data['gmap_taxonomy_node']['table']['group'] = t('Node');
14 $data['gmap_taxonomy_node']['table']['join'] = array(
15 'node' => array(
16 'left_field' => 'vid',
17 'field' => 'vid',
18 ),
19 // @@@ Node_revisions?
20 );
21
22 $data['gmap_taxonomy_node']['marker'] = array(
23 'title' => t('Marker'),
24 'help' => t('The marker name GMap Taxonomy associates with the node.'),
25 'field' => array(
26 'handler' => 'views_handler_field',
27 'click sortable' => TRUE,
28 ),
29 'sort' => array(
30 'handler' => 'views_handler_sort',
31 ),
32 );
33
34 return $data;
35 }

  ViewVC Help
Powered by ViewVC 1.1.2