You are here

protected property TaxonomyTerm::$pathField in Views (for Drupal 7) 8.3

Set default values for the path field options.

Overrides WizardPluginBase::$pathField

File

lib/Views/taxonomy/Plugin/views/wizard/TaxonomyTerm.php, line 29
Definition of Views\taxonomy\Plugin\views\wizard\TaxonomyTerm.

Class

TaxonomyTerm
Tests creating taxonomy views with the wizard.

Namespace

Views\taxonomy\Plugin\views\wizard

Code

protected $pathField = array(
  'id' => 'tid',
  'table' => 'taxonomy_term_data',
  'field' => 'tid',
  'exclude' => TRUE,
  'alter' => array(
    'alter_text' => TRUE,
    'text' => 'taxonomy/term/[tid]',
  ),
);