function ProfileFieldOptionTranslation::fields

Same name in other branches
  1. 8.9.x core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldOptionTranslation.php \Drupal\user\Plugin\migrate\source\d6\ProfileFieldOptionTranslation::fields()
  2. 10 core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldOptionTranslation.php \Drupal\user\Plugin\migrate\source\d6\ProfileFieldOptionTranslation::fields()
  3. 11.x core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldOptionTranslation.php \Drupal\user\Plugin\migrate\source\d6\ProfileFieldOptionTranslation::fields()

Overrides ProfileField::fields

File

core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldOptionTranslation.php, line 41

Class

ProfileFieldOptionTranslation
Drupal 6 i18n profile field option labels source from database.

Namespace

Drupal\user\Plugin\migrate\source\d6

Code

public function fields() {
    return parent::fields() + [
        'property' => $this->t('Option ID.'),
        'objectid' => $this->t('Field name'),
        '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.