As discussed in IRC, an entity token type might be an interesting idea.

For example, that could provide generic properties like id, label, type and so on.

This would be useful when the entity_type is not known in advantage, one such example is userpoints which allows to reference an entity when granting points.

Comments

Dave Reid’s picture

Thinking more and more about this. Since it would be useful for modules that provide things on *all* entities, like my entity UUID module.

ashrafabed’s picture

Issue summary: View changes

I'm working on adding support for all entity types in the comment_notify module. An entity:label token would be very helpful for outgoing notification emails.