Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ProfileFieldTranslation.php

function 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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal