function VocabularyTranslation::fields

Same name in this branch
  1. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d6\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. 10 core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyTranslation::fields()
  4. 10 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 Vocabulary::fields

File

core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php, line 44

Class

VocabularyTranslation
Drupal 7 vocabulary translations from source database.

Namespace

Drupal\taxonomy\Plugin\migrate\source\d7

Code

public function fields() {
    $fields = [
        'i18n_mode' => $this->t('Internationalization mode.'),
        'v_language' => $this->t('Language from the taxonomy_vocabulary table.'),
        'property' => $this->t('Name of property being translated.'),
        'type' => $this->t('Name of property being translated.'),
        'objectid' => $this->t('Name of property being translated.'),
        'lt_lid' => $this->t('Name of property being translated.'),
        'translation' => $this->t('Translation of either the name or the description.'),
        'lid' => $this->t('Language string ID'),
        'textgroup' => $this->t('A module defined group of translations'),
        'context' => $this->t('Full string ID for quick search: type:objectid:property.'),
        'objectindex' => $this->t('Integer value of Object ID'),
        'format' => $this->t('The {filter_format}.format of the string'),
        'language' => $this->t('Language code from locales_target table'),
        'plid' => $this->t('Parent lid'),
        'plural' => $this->t('Plural index number'),
        'i18n_status' => $this->t('Translation needs update'),
    ];
    return parent::fields() + $fields;
}

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