From the docs:

> * Returns an array of fields (which can be either Field API fields or
* properties provided through hook_field_extra_fields()) that should be

What about something like node type, which is neither?

Comments

joachim’s picture

Huh. This actually seems to work -- is this just by fortuitous accident, because the $node objects happen to have $node->type set?

bojanz’s picture

Title: allow entity table fields that are neither FieldAPI nor hook_field_extra_fields() » Allow any property to be shown in the IEF table, and use a human-readable version if available.
Status: Active » Fixed

Yeah, the extra_field business was stupid of me.

Committed a better version.
Will show the human readable version of the node type (and any other token or list property).

Status: Fixed » Closed (fixed)

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