I'm trying to programmatically set a value on a field collection item attached to the user entity.
The field collection field in question is titled, "field_user_location"field_user_location
.
I initially had this ($usr_wrapper being an entity metadata wrapper of the user entity)
$usr_wrapper->field_user_location->field_land_phone->set($object['Phone Number']);
However that doesn't appear to work.
How do you get data onto a field collection via entity_metadata_wrapper()entity_metadata_wrapper()
? There isn't much documentation about how to do this that I am seeing.