Closed (won't fix)
Project:
Migrate Extras
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2011 at 22:52 UTC
Updated:
12 Sep 2011 at 19:05 UTC
The attached plugin provides support for all entities relying on the Entity API (Commerce, Organic Groups, a bunch of contrib modules around them.).
It detects the primary key, and available fields (by using Entity Metadata).
Used in a couple of Commerce Guys projects at the moment, so it's pretty in good shape.
| Comment | File | Size | Author |
|---|---|---|---|
| entity_api.inc_.txt | 5.76 KB | bojanz |
Comments
Comment #1
bojanz commentedNote that I'm maintaining a version of this code in commerce_migrate. It's more recent than what I posted here.
Maybe the code should go into Entity API itself?
Comment #2
laurentchardin commentedsubscribe
Comment #3
marcusx commentedCan you provide some example code how to use this likely very amazig plugin!? I would like to use it for importing data into a field collection, which is an entity and should for this reason have the prerequisits to be importet with your entity_api plugin. See therefore also this question I filed in the migrate issues #1167522: Howto import data into a field collection? Aka import data into entity inside a node?.
Thank you!
regards
marcus
Comment #4
bojanz commentedI can't comment because I don't know how field collection is written and structured.
Marking this issue as won't fix because I think the class should live in the Entity API itself. Will roll a new patch there using the latest code from Commerce Migrate.
EDIT: Here it is, for reference: #1168196: Add generic-entity integration.
Comment #5
rfay@marcusx Just noticed your request. Commerce Migrate has lots of uses of this.