'tripal_vocab', 'base field' => 'id', 'handler' => 'views_handler_relationship', 'label' => t('Tripal Content Vocabulary'), 'title' => t('Tripal Content Vocabulary'), 'help' => t('Associates the vocabulary ID of the Tripal content type with information about the vocabulary.') ); $data['tripal_term']['table']['join'] = array(); // Join the term to it's entity type. $data['tripal_term']['table']['join']['tripal_entity'] = array( 'handler' => 'views_join', 'left_field' => 'term_id', 'field' => 'id', ); // It is not intended that the following fields will every be used by the // end-user. unset($data['tripal_term']['id']); unset($data['tripal_term']['changed']); unset($data['tripal_term']['created']); // This should not be a base table. It's not useful to create a // view of the tripal_term table. unset($data['tripal_term']['table']['base']); return $data; } }