public function TermNode::fields in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNode.php \Drupal\taxonomy\Plugin\migrate\source\d6\TermNode::fields()
- 9 core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNode.php \Drupal\taxonomy\Plugin\migrate\source\d6\TermNode::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
- core/
modules/ taxonomy/ src/ Plugin/ migrate/ source/ d6/ TermNode.php, line 62
Class
- TermNode
- Drupal 6 term/node relationships (current revision) source from database.
Namespace
Drupal\taxonomy\Plugin\migrate\source\d6Code
public function fields() {
return [
'nid' => $this
->t('The node revision ID.'),
'vid' => $this
->t('The node revision ID.'),
'tid' => $this
->t('The term ID.'),
];
}