Tokens All

Component ID

2096989

Component name

Tokens All

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1302

Component created

Component changed

Component body

Tokens All allows you to use any value on a Drupal entity(a user, a comment, a term, etc.) as a token. So if you know an entity has a value but it is not exposed as a token now you can access that value.

For instance if a $node entity is part of a Book using the Book module it has a Book id(bid) attached to it. Like so:
$node->book['bid']
This bid though is not available as a token. Using Token All you can access the value in token like so:
[node:all--values:book:bid]
This module should only be used for values that are not otherwise exposed as tokens on entities. For instance don't use this module to get the title of a node.