public function FieldLabelDescriptionTranslation::fields in Drupal 10
Same name in this branch
- 10 core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldLabelDescriptionTranslation::fields()
- 10 core/modules/field/src/Plugin/migrate/source/d7/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d7\FieldLabelDescriptionTranslation::fields()
Same name and namespace in other branches
- 8 core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldLabelDescriptionTranslation::fields()
- 9 core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldLabelDescriptionTranslation::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/ field/ src/ Plugin/ migrate/ source/ d6/ FieldLabelDescriptionTranslation.php, line 43
Class
- FieldLabelDescriptionTranslation
- Drupal 6 i18n field label and description source from database.
Namespace
Drupal\field\Plugin\migrate\source\d6Code
public function fields() {
return [
'property' => $this
->t('Profile field ID.'),
'lid' => $this
->t('Locales target language ID.'),
'language' => $this
->t('Language for this field.'),
'translation' => $this
->t('Translation of either the title or explanation.'),
];
}