I have created entity type called 'contact'. I want to get some of fields from cvs to my 'contact' entity fields using migrate module. I wrote the destination code like:
'$this->destination = new MigrateDestinationEntity('contact','contact'); '
and i got the following fatal error
'Cannot instantiate abstract class MigrateDestinationEntity in a line 49'
how can i create migratedestionation for contact entity
Comments
Comment #1
mikeryanThe MigrateDestinationEntity is an abstract class providing underlying support for the core entities. To migrate to a custom entity, you need the migrate_extras module, which provides the MigrateDestinationEntityAPI destination class.