Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. IndexTidDepth.php

function IndexTidDepth::defineOptions

Overrides ArgumentPluginBase::defineOptions

File

core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php, line 46

Class

IndexTidDepth
Argument handler for taxonomy terms with depth.

Namespace

Drupal\taxonomy\Plugin\views\argument

Code

protected function defineOptions() {
    $options = parent::defineOptions();
    $options['depth'] = [
        'default' => 0,
    ];
    $options['break_phrase'] = [
        'default' => FALSE,
    ];
    $options['use_taxonomy_term_path'] = [
        'default' => FALSE,
    ];
    return $options;
}
RSS feed
Powered by Drupal