function FieldLabelDescriptionTranslation::fields

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

Overrides MigrateSourceInterface::fields

File

core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php, line 38

Class

FieldLabelDescriptionTranslation
Gets field label and description translations.

Namespace

Drupal\field\Plugin\migrate\source\d6

Code

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

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