function FieldOptionTranslation::fields

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

Overrides Field::fields

1 call to FieldOptionTranslation::fields()
FieldInstanceOptionTranslation::fields in core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php
Returns available fields on the source.
1 method overrides FieldOptionTranslation::fields()
FieldInstanceOptionTranslation::fields in core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php
Returns available fields on the source.

File

core/modules/field/src/Plugin/migrate/source/d6/FieldOptionTranslation.php, line 62

Class

FieldOptionTranslation
Drupal 6 i18n field option labels source from database.

Namespace

Drupal\field\Plugin\migrate\source\d6

Code

public function fields() {
    $fields = [
        'property' => $this->t('Option ID.'),
        'objectid' => $this->t('Object ID'),
        'objectindex' => $this->t('Integer value of Object ID'),
        'format' => $this->t('The input format used by this string'),
        'lid' => $this->t('Source string ID'),
        'language' => $this->t('Language code'),
        'translation' => $this->t('Translation of the option'),
        'plid' => $this->t('Parent lid'),
        'plural' => $this->t('Plural index number in case of plural strings'),
    ];
    return parent::fields() + $fields;
}

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