function FieldLabelDescriptionTranslation::fields

Same name in this branch
  1. 11.x core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\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. 8.9.x core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldLabelDescriptionTranslation::fields()
  4. 8.9.x core/modules/field/src/Plugin/migrate/source/d7/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d7\FieldLabelDescriptionTranslation::fields()
  5. 10 core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldLabelDescriptionTranslation::fields()
  6. 10 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/d7/FieldLabelDescriptionTranslation.php, line 62

Class

FieldLabelDescriptionTranslation
Drupal 7 i18n field label and description source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

public function fields() {
    return [
        'lid' => $this->t('Locales target language ID.'),
        'textgroup' => $this->t('A module defined group of translations'),
        'context' => $this->t('Full string ID for quick search: type:objectid:property.'),
        'objectid' => $this->t('Object ID'),
        'type' => $this->t('Object type for this string'),
        'property' => $this->t('Object property for this string'),
        'objectindex' => $this->t('Integer value of Object ID'),
        'format' => $this->t('The {filter_format}.format of the string'),
        'translation' => $this->t('Translation'),
        'language' => $this->t('Language code'),
        'plid' => $this->t('Parent lid'),
        'plural' => $this->t('Plural index number'),
        'i18n_status' => $this->t('Translation needs update'),
        'id' => $this->t('The field instance ID.'),
        'field_id' => $this->t('The field ID.'),
        'field_name' => $this->t('The field name.'),
        'entity_type' => $this->t('The entity type.'),
        'bundle' => $this->t('The entity bundle.'),
        'data' => $this->t('The field instance data.'),
        'deleted' => $this->t('Deleted'),
    ];
}

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