Projet

Général

Profil

Paste
Télécharger (661 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / views / plugins / views_wizard / taxonomy_term.inc @ 5d12d676

1
<?php
2

    
3
/**
4
 * @file
5
 * Views wizard for taxonomy term views.
6
 */
7

    
8
if (module_exists('taxonomy')) {
9
  $plugin = array(
10
    'name' => 'taxonomy_term',
11
    'base_table' => 'taxonomy_term_data',
12
    'form_wizard_class' => array(
13
      'file' => 'views_ui_taxonomy_term_views_wizard.class.php',
14
      'class' => 'ViewsUiTaxonomyTermViewsWizard',
15
    ),
16
    'title' => t('Taxonomy terms'),
17
    'filters' => array(),
18
    'path_field' => array(
19
      'id' => 'tid',
20
      'table' => 'taxonomy_term_data',
21
      'field' => 'tid',
22
      'exclude' => TRUE,
23
      'alter' => array(
24
        'alter_text' => 1,
25
        'text' => 'taxonomy/term/[tid]',
26
      ),
27
    ),
28
  );
29
}