It would be nice if I could think of the eval'd PHP for the custom formatter as analogous to the code I would otherwise implement in hook_field_formatter_view(). However, the hook returns a render array, whereas you're supposed to return an output string in the custom formatter interface. It would be nice if custom_formatters_engine_php_render() could process either a returned string or a render array.
Comments
Comment #1
decipheredSounds like a reasonable request, I'll look into it as soon as I get a chance (which will likely be around February with my current schedule).
Comment #2
decipheredThis has been committed to 7.x-2.x, thanks for the great suggestion.
Cheers,
Deciphered.