In the new way of handling formatters, the $node object is not available to the formatter as it was in the D5 version. We have the value in #node but it is not in a place where the individual formatters can access it. I'll commit a small change to correct this shortly.

Comments

karens’s picture

Status: Active » Fixed

This is committed. Formatters should now be able to find the node value at $element['#node'].

yched’s picture

Do we need to do the same for formatters called by a View render ?

karens’s picture

I'm not sure, I have to check that, but I don't have time right now. I'll mark it back to active until this is done (or confirmed that it is not needed).

Anonymous’s picture

Status: Fixed » Closed (fixed)

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