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.
Scenario:
I'm adding a viewfield field to a taxonomy vocabulary.
When I set up the default values, I'd like to pick the current term tid. However the available tokens do not show anything pertaining to the current tax.
When adding a viewfield field to a node, you do get the tokens related to the current node but it's not the case for the current taxonomy term.
Am I missing something?
Comments
Comment #3
jerdavisImplemented a similar fix to what we found in 7.x stream. The entity system is returning "taxonomy_term" as the type ID, however token is expecting "term" to be passed.