Entity boxes are one of those things that skirt the line between configuration and content. Right now can export that there's an entity box exists, with it's delta and title, but that doesn't give you much.

Looked into features uuid, default content, etc. and none are any where to providing that.

Figured it'd be best if entity boxes exported field info with the exported box itself for simplicity sake. Course that isn't simple code cause it's content, meaning field collections, files, etc.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hefox’s picture

Issue summary: View changes
Status: Active » Needs review
Related issues: +#1064340: Allow export of additional files/assets.

Here is a patch. It supports file/image and field collection (along with most of the core fields outside of taxonomy terms/node references/etc.). It defiently needs more cleanup, more eyes, etc. I just want to get it somewhere else outside my computer :)

hefox’s picture

hefox’s picture

the patch...

hefox’s picture

Removing debug statements, clearing cache on install so entity box types exist

hefox’s picture

Adding noderef support via defaultcontent

hefox’s picture

Need to use empty( instead of empt(, oops

hefox’s picture

taxonomy term support, yay.

hefox’s picture

features uuid stuff

hefox’s picture

Fixing an embarrassing use of the same variable name for different variables :(

hefox’s picture

sigh, messed up node references.

*blush*

hefox’s picture

Status: Needs review » Needs work

typo in folder name

sanitized values are sometimes being exported for field data.