public function ViewMode::fields in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/ubercart/src/Plugin/migrate/source/uc6/ViewMode.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6\ViewMode::fields()
- 3.0.x modules/ubercart/src/Plugin/migrate/source/uc6/ViewMode.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6\ViewMode::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 ViewMode::fields
File
- modules/
ubercart/ src/ Plugin/ migrate/ source/ uc6/ ViewMode.php, line 60
Class
- ViewMode
- The view mode source.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6Code
public function fields() {
return [
'display_settings' => $this
->t('Serialize data with display settings.'),
'type_name' => $this
->t('The field bundle'),
];
}