Example: Altering the structure of field collection items
For the purpose of displaying the links from the field collection view field formatter at the top instead of the bottom here a little
Example: Programmatically adding field collection entries into a existing field collection parent item
Some times we find ourselves with Field Collection that have other Field Collection as childs and we need to add data to those child fields
Example: Programmatically adding field collection entries to a Profile2 profile
The Drupal 7 Profile2 module is the successor to the Drupal 6 core profile module. Profiles created with Profile2 are entities and can
Example: Programmatically adding field collection entries to a node
In this example a function adds an entry to a node with a field collection named field_activity_log.
Example: Programmatically create and update field collection with Entity API
The Entity API provides classes and methods / functions that make CRUD for entities much, much easier and less prone to errors and bugs.
Example: Using Field Collection to force a list of human-readable names of documents attached to a node
Overview
Import field collection using feeds (And example use case)
You need install http://drupal.org/project/field_collection_feeds. Here is an example how to use it:
Understanding Field Collection Values
When a field collection is added to a user, node, or other Drupal entity it is represented with a field type of field_collection_item. The
