You are here

function gmap_taxonomy_views_tables in GMap Module 5

Implementation of hook_views_tables().

File

./gmap_taxonomy.module, line 167
GMap Taxonomy Markers

Code

function gmap_taxonomy_views_tables() {
  $tables['gmap_taxonomy_node'] = array(
    'fields' => array(
      'marker' => array(
        'name' => t('GMap Taxonomy: Marker'),
        'help' => t('Displays the marker name GMap Taxonomy associates with this node.'),
      ),
    ),
    'join' => array(
      'left' => array(
        'table' => 'node',
        'field' => 'nid',
      ),
      'right' => array(
        'field' => 'nid',
      ),
    ),
  );
  return $tables;
}