function FieldInstanceOptionTranslation::fields
Same name in other branches
- 8.9.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldInstanceOptionTranslation::fields()
- 10 core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldInstanceOptionTranslation::fields()
- 11.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldInstanceOptionTranslation::fields()
Overrides FieldOptionTranslation::fields
File
-
core/
modules/ field/ src/ Plugin/ migrate/ source/ d6/ FieldInstanceOptionTranslation.php, line 33
Class
- FieldInstanceOptionTranslation
- Drupal 6 i18n field instance option labels source from database.
Namespace
Drupal\field\Plugin\migrate\source\d6Code
public function fields() {
$fields = [
'type_name' => $this->t('Type (article, page, ....)'),
];
return parent::fields() + $fields;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.