public function Field::fields in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/ubercart/src/Plugin/migrate/source/uc7/Field.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\Field::fields()
- 3.0.x modules/ubercart/src/Plugin/migrate/source/uc7/Field.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\Field::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides Field::fields
File
- modules/
ubercart/ src/ Plugin/ migrate/ source/ uc7/ Field.php, line 86
Class
- Field
- Ubercart 7 field source from database.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7Code
public function fields() {
$fields = parent::fields();
$fields['commerce_product'] = $this
->t('Product node flag');
return $fields;
}