function FieldOptionTranslation::fields
Same name in this branch
- 8.9.x core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php \Drupal\field\Plugin\migrate\source\d7\FieldOptionTranslation::fields()
Same name in other branches
- 9 core/modules/field/src/Plugin/migrate/source/d6/FieldOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldOptionTranslation::fields()
- 9 core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php \Drupal\field\Plugin\migrate\source\d7\FieldOptionTranslation::fields()
- 10 core/modules/field/src/Plugin/migrate/source/d6/FieldOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldOptionTranslation::fields()
- 10 core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php \Drupal\field\Plugin\migrate\source\d7\FieldOptionTranslation::fields()
- 11.x core/modules/field/src/Plugin/migrate/source/d6/FieldOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldOptionTranslation::fields()
- 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 55
Class
- FieldOptionTranslation
- Gets field option label translations.
Namespace
Drupal\field\Plugin\migrate\source\d6Code
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.