By jlab on
I want to use the migrate module to import data into custom entities created with eck (Entity Construction Kit).
There is already destination handler for nodes and users etc. MigrateDestinationUser(), MigrateDestinationNode()
I'm not quite sure how to go about this for the custom entities I created with eck, should I extend the MigrateDestination class? or can I just use Destination handlers?
Any help would be greatly appreciated.
Comments
hi, I see this post is kind
hi,
I see this post is kind of old... but did you fix it?
I have the same situation and I've extended the MigrateDestinationEntity.
It works ok, tested with an import/rollback of 1000+ records.
elaborate the MigrateDestinationEntity.
I have the same situation and i didn't understand your comment so could you please elaborate what you have done with MigrateDestinationEntity.
Were you able to fix this?
Were you able to fix this?
In my case, I installed migrate_extras and used MigrateDestinationEntityApi class inside it.
However, the cck fields where not migrated. I am not sure if this is a bug with just ECK, or the MigrateDestinationEntityApi. I had to change $entity->type to my proper bundle in the 'prepare' method inside my migration class in order to migrate the CCK fields properly.