Search for token

  1. Search 9.5.x for token
  2. Search 8.9.x for token
  3. Search 10.3.x for token
  4. Search 11.x for token
  5. 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.
CommentTokenReplaceTestCase class modules/comment/comment.test Test comment token replacement in strings.
CommentTokenReplaceTestCase::getInfo function modules/comment/comment.test
CommentTokenReplaceTestCase::testCommentTokenReplacement function modules/comment/comment.test Creates a comment, then tests the tokens generated from it.
comment_tokens function modules/comment/comment.tokens.inc Implements hook_tokens().
comment_token_info function modules/comment/comment.tokens.inc Implements hook_token_info().
drupal-6.user-no-password-token.database.php file modules/simpletest/tests/upgrade/drupal-6.user-no-password-token.database.php
drupal-6.user-password-token.database.php file modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php
DrupalWebTestCase::drupalGetToken function modules/simpletest/drupal_web_test_case.php Generate a token for the currently logged in user.
drupal_get_token function includes/common.inc Generates a token based on $value, the user session, and the private key.
drupal_valid_token function includes/common.inc Validates a token based on $value, the user session, and the private key.
FileTokenReplaceTestCase class modules/file/tests/file.test Tests the file token replacement in strings.
FileTokenReplaceTestCase::getInfo function modules/file/tests/file.test
FileTokenReplaceTestCase::testFileTokenReplacement function modules/file/tests/file.test Creates a file, then tests the tokens generated from it.
FormValidationTestCase::testDisabledToken function modules/simpletest/tests/form.test Tests that a form with a disabled CSRF token can be validated.
form_test_validate_no_token function modules/simpletest/tests/form_test.module Form builder for testing submission of a form without a CSRF token.
form_test_validate_no_token_submit function modules/simpletest/tests/form_test.module Form submission handler for form_test_validate_no_token().
form_type_token_value function includes/form.inc Determines the value for form's token value.
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.
hook_token_info function modules/system/system.api.php Provide information about available placeholder tokens and token types.
hook_token_info_alter function modules/system/system.api.php Alter the metadata about available placeholder tokens and token types.
IMAGE_DERIVATIVE_TOKEN constant modules/image/image.module The name of the query parameter for image derivative tokens.
image_style_path_token function modules/image/image.module Generates a token to protect an image style derivative.
node.tokens.inc file modules/node/node.tokens.inc Builds placeholder replacement tokens for node-related data.
NodeTokenReplaceTestCase class modules/node/node.test Test node token replacement in strings.
NodeTokenReplaceTestCase::getInfo function modules/node/node.test
NodeTokenReplaceTestCase::testNodeTokenReplacement function modules/node/node.test Creates a node, then tests the tokens generated from it.
node_tokens function modules/node/node.tokens.inc Implements hook_tokens().
node_token_info function modules/node/node.tokens.inc Implements hook_token_info().
poll.tokens.inc file modules/poll/poll.tokens.inc Builds placeholder replacement tokens for values specific to Poll nodes.
PollTokenReplaceTestCase class modules/poll/poll.test Test poll token replacement in strings.
PollTokenReplaceTestCase::getInfo function modules/poll/poll.test
PollTokenReplaceTestCase::setUp function modules/poll/poll.test Sets up a Drupal site for running functional and integration tests.
PollTokenReplaceTestCase::testPollTokenReplacement function modules/poll/poll.test Creates a poll, then tests the tokens generated from it.
poll_tokens function modules/poll/poll.tokens.inc Implements hook_tokens().
poll_token_info function modules/poll/poll.tokens.inc Implements hook_token_info().
SearchTokenizerTestCase class modules/search/search.test Test the CJK tokenizer.
SearchTokenizerTestCase::code2utf function modules/search/search.test Like PHP chr() function, but for unicode characters.
SearchTokenizerTestCase::getInfo function modules/search/search.test
SearchTokenizerTestCase::setUp function modules/search/search.test Sets up a Drupal site for running functional and integration tests.
SearchTokenizerTestCase::testNoTokenizer function modules/search/search.test Verifies that strings of non-CJK characters are not tokenized.
SearchTokenizerTestCase::testTokenizer function modules/search/search.test Verifies that strings of CJK characters are tokenized.
statistics.tokens.inc file modules/statistics/statistics.tokens.inc Builds placeholder replacement tokens for node visitor statistics.
StatisticsTokenReplaceTestCase class modules/statistics/statistics.test Tests statistics token replacement in strings.
StatisticsTokenReplaceTestCase::getInfo function modules/statistics/statistics.test
StatisticsTokenReplaceTestCase::testStatisticsTokenReplacement function modules/statistics/statistics.test Creates a node, then tests the statistics tokens generated from it.
statistics_tokens function modules/statistics/statistics.tokens.inc Implements hook_tokens().
statistics_token_info function modules/statistics/statistics.tokens.inc Implements hook_token_info().
system.tokens.inc file modules/system/system.tokens.inc Builds placeholder replacement tokens system-wide data.

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