function ProfileFieldTranslation::fields

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

Overrides ProfileField::fields

File

core/modules/config_translation/src/Plugin/migrate/source/d6/ProfileFieldTranslation.php, line 39

Class

ProfileFieldTranslation
Drupal 6 i18n strings profile field source from database.

Namespace

Drupal\config_translation\Plugin\migrate\source\d6

Code

public function fields() {
    $fields = [
        'lid' => $this->t('Locales target language ID.'),
        'language' => $this->t('Language for this field.'),
        'translation' => $this->t('Translation of either the title or explanation.'),
    ];
    return parent::fields() + $fields;
}

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