function TermNode::fields

Same name in other branches
  1. 9 core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNode.php \Drupal\taxonomy\Plugin\migrate\source\d6\TermNode::fields()
  2. 10 core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNode.php \Drupal\taxonomy\Plugin\migrate\source\d6\TermNode::fields()
  3. 11.x core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNode.php \Drupal\taxonomy\Plugin\migrate\source\d6\TermNode::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNode.php, line 40

Class

TermNode
Source returning tids from the term_node table for the current revision.

Namespace

Drupal\taxonomy\Plugin\migrate\source\d6

Code

public function fields() {
    return [
        'nid' => $this->t('The node revision ID.'),
        'vid' => $this->t('The node revision ID.'),
        'tid' => $this->t('The term ID.'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.