function LanguageContentSettingsTaxonomyVocabulary::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/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php, line 42

Class

LanguageContentSettingsTaxonomyVocabulary
Drupal 6 i18n vocabularies source from database.

Namespace

Drupal\language\Plugin\migrate\source\d6

Code

public function fields() {
  return [
    'vid' => $this->t('The vocabulary ID.'),
    'language' => $this->t('The default language for new terms.'),
    'state' => $this->t('The i18n taxonomy translation setting.'),
  ];
}

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