Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently all node tokens are lumped into the 'node' token type. With field tokens we really need to be able to better offer contextual help with tokens where we have a entity type *and* bundle context. Currently *all* node field tokens are listed under [node:*]. We need to be able to list all tokens related to Article nodes when we have that context.
Comments
Comment #1
Dave ReidComment #2
andypostIs there ability to know a bundle in current implementation? I think this change will slightly affect a UI
Comment #3
fagoIn the entity property info system I'm using full arrays for describing data, e.g.
I do think we really need to come up a unified way of specifying such metadata, so it can be easily passed on across subsystems.
Well, in practice though it turns out that it's not easy to determine the bundle context beforehand. Questionable is how the system should deal with bundle-specific fields in case the bundle context is unknown.
Comment #12
darvanenRelevant to many issues. Needs a lot of dicusssion.