public function ProfileType::fields in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/commerce/src/Plugin/migrate/source/commerce1/ProfileType.php \Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1\ProfileType::fields()
- 3.1.x modules/commerce/src/Plugin/migrate/source/commerce1/ProfileType.php \Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1\ProfileType::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 MigrateSourceInterface::fields
File
- modules/
commerce/ src/ Plugin/ migrate/ source/ commerce1/ ProfileType.php, line 29
Class
- ProfileType
- Drupal 7 commerce_customer_profile source from database.
Namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1Code
public function fields() {
return [
'type' => $this
->t('Type'),
];
}