Home ›
Exportable field content: machine names for field instances?Exportable field content: machine names for field instances?
Submitted by Benjamin Melançon on December 24, 2010 - 10:07pm
When fields are used for configuration-like stuff (this is for AJAX form messages) it would make sense to be able to export field instances to code (as opposed to, say, node or comment fields).
asked, to no avail:
11:37 benjamin-agaric: is there a standard / anything anyone's tried for giving programatically-created field instances a machine name type thing
Answer: Not on the field level,but entire entities can be made exportable of Entity API - http://drupal.org/project/entity
More like this
- Exportable Entity Content
- Once saved, the machine name of a content type should not automatically change when the display name is changed
- Fields, Bundles, and Entities in Drupal 7
- Must use -> fields() method in select statements in Drupal 7 database layer (DBTNG)
- Seeing node information (such as content type) with a helper module that is not readily available otherwise


Comments
Post new comment