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 service core/core.services.yml Drupal\Core\Utility\Token
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::testUserTokenReplacement function core/modules/user/tests/src/Functional/UserTokenReplaceTest.php Creates a user, then tests the tokens generated from it.
UserTokensHooks class core/modules/user/src/Hook/UserTokensHooks.php Hook implementations for user.
UserTokensHooks.php file core/modules/user/src/Hook/UserTokensHooks.php
UserTokensHooks::tokenInfo function core/modules/user/src/Hook/UserTokensHooks.php Implements hook_token_info().
UserTokensHooks::tokens function core/modules/user/src/Hook/UserTokensHooks.php Implements hook_tokens().
user_mail_tokens function core/modules/user/user.module Token callback to add unsafe tokens for user mails.
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.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.
ViewsTokensHooks class core/modules/views/src/Hook/ViewsTokensHooks.php Hook implementations for views.
ViewsTokensHooks.php file core/modules/views/src/Hook/ViewsTokensHooks.php
ViewsTokensHooks::tokenInfo function core/modules/views/src/Hook/ViewsTokensHooks.php Implements hook_token_info().
ViewsTokensHooks::tokens function core/modules/views/src/Hook/ViewsTokensHooks.php Implements hook_tokens().

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