I'm working on a module that lets you define a new entity type with a data table as its base. This depends on the D7 port at #827000: Port Data Module to Drupal 7.
This means each entry in the table becomes an entity. Viewing and editing the entity is combined into a single form, and an edit link is provided for the data table views in data_ui module.
I think from here it would be possible to make these fieldable.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1342294-2.data_.data-entity-module.patch | 17.54 KB | joachim |
| #1 | 1342294.data_.data-entity-module.patch | 11.81 KB | joachim |
Comments
Comment #1
joachim commentedHere is a patch of my work so far.
Comment #2
joachim commentedMore work on this.
These are now fieldable.
There's a bug with the way the menu tabs go which I can't resolve -- see code comments in data_entity_entity_info() for the gory details.
Comment #3
digi24 commentedUnfortunately, I am not using D7 yet, so I cannot review your patch, but your development is in my view exactly the way to go and I would like to thank you very much for the patches already provided.
Comment #4
joachim commentedI've committed this as two separate commits, one for basic entities, and one for fieldAPI.
fb6fd04e07 (- #1342294 by joachim: Added ability to add fields to data table entity types.)
6e1f864640 (- #1342294 by joachim: Added a module to create entity types and entities from tables.)
Follow-up issue: #1363600: fix FieldAPI admin UI paths
Comment #6
7wonders commentedHow would I go about getting the full properties of the entity available to feeds entity processor http://drupal.org/node/1033202 or is that a feeds entity processor issue that it is only showing importer_id and temporary targets for the data entity?
Comment #6.0
7wonders commentedlink d7 port