Search for token

  1. Search 7.x for token
  2. Search 9.5.x for token
  3. Search 8.9.x for token
  4. Search 10.3.x for token
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Token class core/lib/Drupal/Core/Render/Element/Token.php Stores token data in a hidden form field.
Token class core/lib/Drupal/Core/Utility/Token.php Drupal placeholder/token replacement system.

All search results

Title Object type File name Summary
UserTokenReplaceTest::setUp function core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
UserTokenReplaceTest::testUserTokenReplacement function core/modules/user/tests/src/Functional/UserTokenReplaceTest.php Creates a user, then tests the tokens generated from it.
user_mail_tokens function core/modules/user/user.module Token callback to add unsafe tokens for user mails.
user_tokens function core/modules/user/user.tokens.inc Implements hook_tokens().
user_token_info function core/modules/user/user.tokens.inc Implements hook_token_info().
ValidationTest::testDisabledToken function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests that a form with a disabled CSRF token can be validated.
views.tokens.inc file core/modules/views/views.tokens.inc Token integration for the views module.
views.view.test_excluded_field_token_display.yml file core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_excluded_field_token_display.yml core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_excluded_field_token_display.yml
views.view.test_field_argument_tokens.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_argument_tokens.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_argument_tokens.yml
views.view.test_field_self_tokens.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_self_tokens.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_self_tokens.yml
views.view.test_field_tokens.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_tokens.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_tokens.yml
views.view.test_invalid_tokens.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_invalid_tokens.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_invalid_tokens.yml
views.view.test_link_tokens.yml file core/modules/link/tests/modules/link_test_views/test_views/views.view.test_link_tokens.yml core/modules/link/tests/modules/link_test_views/test_views/views.view.test_link_tokens.yml
views.view.test_node_tokens.yml file core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_tokens.yml core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_tokens.yml
views.view.test_tokens.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml
views.view.test_token_view.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_token_view.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_token_view.yml
ViewsBlockTest::testBuildWithTitleToken function core/modules/views/tests/src/Kernel/Plugin/ViewsBlockTest.php Tests that ViewsBlock::build() produces the right output with title tokens.
ViewsPluginInterface::getAvailableGlobalTokens function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Returns an array of available token replacements.
ViewsPluginInterface::globalTokenForm function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Adds elements for available core tokens to a form.
ViewsPluginInterface::globalTokenReplace function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Returns a string with any core tokens replaced.
views_tokens function core/modules/views/views.tokens.inc Implements hook_tokens().
views_token_info function core/modules/views/views.tokens.inc Implements hook_token_info().

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