Rather than requiring each entity type to have its tokens handled differently, e.g. [node:*] vs [user:*] vs ..., make all of these available as a generic [entity:*] that stands for the primary entity passed into token_render().
↧
Rather than requiring each entity type to have its tokens handled differently, e.g. [node:*] vs [user:*] vs ..., make all of these available as a generic [entity:*] that stands for the primary entity passed into token_render().