public function VocabularyTranslation::fields in Drupal 9
Same name in this branch
- 9 core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyTranslation::fields()
- 9 core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\VocabularyTranslation::fields()
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyTranslation::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/ VocabularyTranslation.php, line 46
Class
- VocabularyTranslation
- Drupal 6 i18n vocabulary translations from source database.
Namespace
Drupal\taxonomy\Plugin\migrate\source\d6Code
public function fields() {
return [
'vid' => $this
->t('The vocabulary ID.'),
'language' => $this
->t('Language for this field.'),
'property' => $this
->t('Name of property being translated.'),
'translation' => $this
->t('Translation of either the title or explanation.'),
];
}