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.
I'm not sure how the Drupal 6 version worked, but in general, you need to place the token in a context it understands. If you were trying to print a nid in a block, how will it know which nid you mean?
Comments
Comment #1
justingeeslin CreditAttribution: justingeeslin commentedI believe you are right. The only contexts that appear to be supported are 'user' and 'global'.
Comment #2
darvanenI'm not sure how the Drupal 6 version worked, but in general, you need to place the token in a context it understands. If you were trying to print a nid in a block, how will it know which nid you mean?