You are here

taxonomy_term.inc in Views (for Drupal 7) 7.3

File

plugins/views_wizard/taxonomy_term.inc
View source
<?php

/**
 * @file
 * Views wizard for taxonomy term views.
 */
if (module_exists('taxonomy')) {
  $plugin = array(
    'name' => 'taxonomy_term',
    'base_table' => 'taxonomy_term_data',
    'form_wizard_class' => array(
      'file' => 'views_ui_taxonomy_term_views_wizard.class.php',
      'class' => 'ViewsUiTaxonomyTermViewsWizard',
    ),
    'title' => t('Taxonomy terms'),
    'filters' => array(),
    'path_field' => array(
      'id' => 'tid',
      'table' => 'taxonomy_term_data',
      'field' => 'tid',
      'exclude' => TRUE,
      'alter' => array(
        'alter_text' => 1,
        'text' => 'taxonomy/term/[tid]',
      ),
    ),
  );
}