public function Message::fields in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/commerce/src/Plugin/migrate/source/commerce1/Message.php \Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1\Message::fields()
- 3.0.x modules/commerce/src/Plugin/migrate/source/commerce1/Message.php \Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1\Message::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/ Message.php, line 46
Class
- Message
- Gets the Commerce 1 currency data.
Namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1Code
public function fields() {
return [
'mid' => t('Message ID'),
'type' => t('Message type'),
'arguments' => t('Arguments'),
'uid' => t('UID'),
'timestamp' => t('Message timestamp'),
'language' => t('Language'),
'target_id' => t('Target ID'),
'name' => t('Message type name'),
'category' => t('Message category'),
];
}