'weight' => $this->t('Weight'),
'parent' => $this->t("The Drupal term IDs of the term's parents."),
];
+ if (isset($this->configuration['translations'])) {
+ $fields['language'] = $this->t('The term language.');
+ $fields['trid'] = $this->t('Translation ID.');
+ }
return $fields;
}