function TermTranslation::fields
Same name in other branches
- 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\TermTranslation::fields()
- 10 core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\TermTranslation::fields()
- 11.x core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\TermTranslation::fields()
Overrides Term::fields
File
-
core/
modules/ taxonomy/ src/ Plugin/ migrate/ source/ d7/ TermTranslation.php, line 58
Class
- TermTranslation
- Drupal 7 i18n taxonomy terms source from database.
Namespace
Drupal\taxonomy\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'language' => $this->t('Language for this term.'),
'name_translated' => $this->t('Term name translation.'),
'description_translated' => $this->t('Term description translation.'),
];
return parent::fields() + $fields;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.