public function Store::fields in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/ubercart/src/Plugin/migrate/source/Store.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\Store::fields()
- 3.1.x modules/ubercart/src/Plugin/migrate/source/Store.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\Store::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 Variable::fields
File
- modules/
ubercart/ src/ Plugin/ migrate/ source/ Store.php, line 21
Class
- Store
- Gets the Ubercart store data.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\sourceCode
public function fields() {
return parent::fields() + [
'uid' => $this
->t('User ID'),
'country_iso_code_2' => $this
->t('Country ISO code 2'),
];
}