function VocabularyTranslation::fields

Same name in this branch
  1. 10 core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\VocabularyTranslation::fields()
Same name in other branches
  1. 9 core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyTranslation::fields()
  2. 9 core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\VocabularyTranslation::fields()
  3. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyTranslation::fields()
  4. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\VocabularyTranslation::fields()
  5. 11.x core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyTranslation::fields()
  6. 11.x core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\VocabularyTranslation::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php, line 48

Class

VocabularyTranslation
Drupal 6 i18n vocabulary translations source from database.

Namespace

Drupal\taxonomy\Plugin\migrate\source\d6

Code

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.'),
    ];
}

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