Load all field collections of a given type Currently I am using a query to load field collections of a specified type, but I wonder if there is a more drupaly way to do it?

$query = db_select('field_collection_item', 'fci')
  -&gt;fields('fci', array('field_name', 'item_id'))
  -&gt;condition('fci.field_name', $field_collection_name)
;

$result = $query-&gt;execute()-&gt;fetchAllAssoc('item_id');
$fcs = entity_load('field_collection_item', array_keys($result));
Lets say you have field collection with type 'field_my_dates'. So you can get field collection details using node and collection type as given below.

&lt;?PHP
    $itemCollection = field_get_items('node', $node, 'field_my_dates');
    $wrapper = entity_metadata_wrapper('node', $node);
?&gt;


Thanks