entity_metadata_wrapper() and its ->value() method will return a single entity
object or an array of entity objects, depending on either the field configuration
or the field contents. It's kind of unpredictable, and rather than working around
it, this PR uses the more consistent field_get_items() from Drupal core.
entity_metadata_wrapper() and its ->value() method will return a single entity object or an array of entity objects, depending on either the field configuration or the field contents. It's kind of unpredictable, and rather than working around it, this PR uses the more consistent field_get_items() from Drupal core.