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

Breadcrumb

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

function NodeTermData::defineOptions

Overrides RelationshipPluginBase::defineOptions

File

core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php, line 56

Class

NodeTermData
Relationship handler to return the taxonomy terms of nodes.

Namespace

Drupal\taxonomy\Plugin\views\relationship

Code

protected function defineOptions() {
    $options = parent::defineOptions();
    $options['vids'] = [
        'default' => [],
    ];
    return $options;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal