Search for tokens

  1. Search 9.5.x for tokens
  2. Search 8.9.x for tokens
  3. Search 10.3.x for tokens
  4. Search 11.x for tokens
  5. Search main for tokens
  6. Other projects
Title Object type File name Summary
comment.tokens.inc file modules/comment/comment.tokens.inc Builds placeholder replacement tokens for comment-related data.
comment_tokens function modules/comment/comment.tokens.inc Implements hook_tokens().
hook_tokens function modules/system/system.api.php Provide replacement values for placeholder tokens.
hook_tokens_alter function modules/system/system.api.php Alter replacement values for placeholder tokens.
node.tokens.inc file modules/node/node.tokens.inc Builds placeholder replacement tokens for node-related data.
node_tokens function modules/node/node.tokens.inc Implements hook_tokens().
poll.tokens.inc file modules/poll/poll.tokens.inc Builds placeholder replacement tokens for values specific to Poll nodes.
poll_tokens function modules/poll/poll.tokens.inc Implements hook_tokens().
statistics.tokens.inc file modules/statistics/statistics.tokens.inc Builds placeholder replacement tokens for node visitor statistics.
statistics_tokens function modules/statistics/statistics.tokens.inc Implements hook_tokens().
system.tokens.inc file modules/system/system.tokens.inc Builds placeholder replacement tokens system-wide data.
system_tokens function modules/system/system.tokens.inc Implements hook_tokens().
taxonomy.tokens.inc file modules/taxonomy/taxonomy.tokens.inc Builds placeholder replacement tokens for taxonomy terms and vocabularies.
taxonomy_tokens function modules/taxonomy/taxonomy.tokens.inc Implements hook_tokens().
TokenScanTest class modules/system/system.test Test token replacement in strings.
TokenScanTest::getInfo function modules/system/system.test
TokenScanTest::testTokenScan function modules/system/system.test Scans dummy text, then tests the output.
TriggerActionTestCase::generateMessageWithTokens function modules/trigger/trigger.test Creates a message with tokens.
user.tokens.inc file modules/user/user.tokens.inc Builds placeholder replacement tokens for user-related data.
user_mail_tokens function modules/user/user.module Token callback to add unsafe tokens for user mails.
user_tokens function modules/user/user.tokens.inc Implements hook_tokens().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.