This is how the data inside Field Collections look like when printing out $node object from hook_node_presave, update and insert. How can I modify Field Collection fields' data during these hooks?

CommentFileSizeAuthor
field_collection_node_update.png29.9 KBrnyberg

Comments

danieltome’s picture

Hi,

Here's an answer on Stack Exchange:

http://drupal.stackexchange.com/questions/11062/how-do-i-load-a-field-co...

Basically you need to do:

entity_load('field_collection_item', array($item_id))

rnyberg’s picture

Status: Active » Closed (fixed)