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

mikeryan’s picture

Project: Migrate » Migrate Extras
Component: Code » Entity API
Status: Active » Fixed

The 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.