Search for tokens

  1. Search 7.x for tokens
  2. Search 9.5.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
LinkViewsTokensTest::$fieldName property core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php The field name used for the link field.
LinkViewsTokensTest::$modules property core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php Modules to enable.
LinkViewsTokensTest::$testViews property core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php Views used by this test.
LinkViewsTokensTest::setUp function core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php
LinkViewsTokensTest::testLinkViewsTokens function core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php
locale_test_tokens function core/modules/locale/tests/modules/locale_test/locale_test.module Implements hook_tokens().
MetadataBag::clearCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Clear the CSRF token seed.
MetadataBag::getCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Get the CSRF token seed.
MetadataBag::setCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Set the CSRF token seed.
node.tokens.inc file core/modules/node/node.tokens.inc Builds placeholder replacement tokens for node-related data.
NodeFieldTokensTest class core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php Tests replacement of Views tokens supplied by the Node module.
NodeFieldTokensTest.php file core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php
NodeFieldTokensTest::$defaultTheme property core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php The theme to install as the default for testing.
NodeFieldTokensTest::$testViews property core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php Views used by this test.
NodeFieldTokensTest::testViewsTokenReplacement function core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php Tests token replacement for Views tokens supplied by the Node module.
node_tokens function core/modules/node/node.tokens.inc Implements hook_tokens().
PluginBase::getAvailableGlobalTokens function core/modules/views/src/Plugin/views/PluginBase.php Returns an array of available token replacements.
PluginBaseTest::testViewsTokenReplaceWithTwigTokens function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Tests viewsTokenReplace without any twig tokens.
Roles::addSelfTokens function core/modules/user/src/Plugin/views/field/Roles.php Add any special tokens this field might use for itself.
Roles::documentSelfTokens function core/modules/user/src/Plugin/views/field/Roles.php Document any special tokens this field might use for itself.
statistics.tokens.inc file core/modules/statistics/statistics.tokens.inc Builds placeholder replacement tokens for node visitor statistics.
statistics_tokens function core/modules/statistics/statistics.tokens.inc Implements hook_tokens().
StylePluginBase::$rowTokens property core/modules/views/src/Plugin/views/style/StylePluginBase.php Store all available tokens row rows.
StylePluginBase::usesTokens function core/modules/views/src/Plugin/views/style/StylePluginBase.php Return TRUE if this style uses tokens.
system.tokens.inc file core/modules/system/system.tokens.inc Builds placeholder replacement tokens system-wide data.
system_tokens function core/modules/system/system.tokens.inc Implements hook_tokens().
taxonomy.tokens.inc file core/modules/taxonomy/taxonomy.tokens.inc Builds placeholder replacement tokens for taxonomy terms and vocabularies.
TaxonomyFieldAllTermsTest::testViewsHandlerAllTermsWithTokens function core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldAllTermsTest.php Tests token replacement in the "all terms" field handler.
TaxonomyIndexTid::addSelfTokens function core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php Add any special tokens this field might use for itself.
TaxonomyIndexTid::documentSelfTokens function core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php Document any special tokens this field might use for itself.
taxonomy_tokens function core/modules/taxonomy/taxonomy.tokens.inc Implements hook_tokens().
TokenReplaceKernelTestBase::$tokenService property core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php Token service.
TokenReplaceWebTest::testTokens function core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php Tests a token replacement on an actual website.
TokenScanTest class core/modules/system/tests/src/Functional/System/TokenScanTest.php Scan token-like patterns in a dummy text to check token scanning.
TokenScanTest.php file core/modules/system/tests/src/Functional/System/TokenScanTest.php
TokenScanTest::$defaultTheme property core/modules/system/tests/src/Functional/System/TokenScanTest.php The theme to install as the default for testing.
TokenScanTest::testTokenScan function core/modules/system/tests/src/Functional/System/TokenScanTest.php Scans dummy text, then tests the output.
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace[[api-linebreak]]
@covers ::replace[[api-linebreak]]
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace[[api-linebreak]]
user.tokens.inc file core/modules/user/user.tokens.inc Builds placeholder replacement tokens for user-related data.
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().
views.tokens.inc file core/modules/views/views.tokens.inc Token integration for the views module.
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_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
ViewsPluginInterface::getAvailableGlobalTokens function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Returns an array of available token replacements.

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