I have defined custom entity using Drupal console. the entity have extra columns defined to store field data from D7 nodes migrated instead of having entity fields.
I am using Migrate tools and Migrate plus modules and created migration group defined as below:
id: phases
label: Phases nodes migration
migration_group: phases
deriver: Drupal\taxonomy\Plugin\migrate\D7NodeDeriver
source:
plugin: d7_node
node_type: phase
destination:
plugin: entity:phase_entity
process:
id: nid
type:
plugin: default_value
default_value: phase
langcode: language
name: title
user_id: uid
changed: changed
created: created
migration_dependencies: { }
The migration group listed under admin/structure/migrate
But no import action execute.
I have tried to import with basic fields only but nothing happens.
I searched a lot but no results even examples, I did created destination plugin to save the entity but I don't know how to.
Do I have write some code? where to write it or where docs for that part?
Does Drupal migration not work for custom entities at all so I have to look for another solution?
Any help will be appreciated, Thanks in advance.