public function LanguageContentSettingsTaxonomyVocabulary::fields in Drupal 9
Same name in this branch
- 9 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettingsTaxonomyVocabulary::fields()
- 9 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettingsTaxonomyVocabulary::fields()
Same name and namespace in other branches
- 8 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettingsTaxonomyVocabulary::fields()
- 10 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d7\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 Vocabulary::fields
File
- core/
modules/ language/ src/ Plugin/ migrate/ source/ d7/ LanguageContentSettingsTaxonomyVocabulary.php, line 38
Class
- LanguageContentSettingsTaxonomyVocabulary
- Drupal 7 i18n vocabularies source from database.
Namespace
Drupal\language\Plugin\migrate\source\d7Code
public function fields() {
$fields = parent::fields();
$fields['language'] = $this
->t('i18n language');
$fields['i18n_mode'] = $this
->t('i18n mode');
return $fields;
}