I just happened to have the one edge case which breaks your module. Your implementation of hook_field_formatter_view does not return an array of items keyed by numeric indexes starting from 0 per the Field API spec.

"A renderable array for the $items, as an array of child elements keyed by numeric indexes starting from 0."

I'm submitting a patch.

CommentFileSizeAuthor
socialfield.module.patch593 bytesAdam S

Comments

Adam S created an issue. See original summary.

  • tamas_b committed b0760a4 on 7.x-1.x
    Issue #2655818 by adam-s: Function hook_field_formatter_view expects a...
tamas_b’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.