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
SearchTokenizerTest::$modules property core/modules/search/tests/src/Kernel/SearchTokenizerTest.php Modules to install.
SearchTokenizerTest::code2utf function core/modules/search/tests/src/Kernel/SearchTokenizerTest.php Like PHP chr() function, but for unicode characters.
SearchTokenizerTest::setUp function core/modules/search/tests/src/Kernel/SearchTokenizerTest.php
SearchTokenizerTest::testNoTokenizer function core/modules/search/tests/src/Kernel/SearchTokenizerTest.php Verifies that strings of non-CJK characters are not tokenized.
SearchTokenizerTest::testTokenizer function core/modules/search/tests/src/Kernel/SearchTokenizerTest.php Verifies that strings of CJK characters are tokenized.
StagedDBUpdateValidator::tokensMatchFunctionNamePattern function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Determines if a set of tokens contain a function name matching a pattern.
statistics.tokens.inc file core/modules/statistics/statistics.tokens.inc Builds placeholder replacement tokens for node visitor statistics.
StatisticsTokenReplaceTest class core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php Tests statistics token replacement.
StatisticsTokenReplaceTest.php file core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
StatisticsTokenReplaceTest::$defaultTheme property core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php The theme to install as the default for testing.
StatisticsTokenReplaceTest::testStatisticsTokenReplacement function core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php Creates a node, then tests the statistics tokens generated from it.
statistics_tokens function core/modules/statistics/statistics.tokens.inc Implements hook_tokens().
statistics_token_info function core/modules/statistics/statistics.tokens.inc Implements hook_token_info().
StylePluginBase::$render_tokens property core/modules/views/src/Plugin/views/style/StylePluginBase.php
StylePluginBase::$rowTokens property core/modules/views/src/Plugin/views/style/StylePluginBase.php Store all available tokens row rows.
StylePluginBase::tokenizeValue function core/modules/views/src/Plugin/views/style/StylePluginBase.php Take a value and apply token replacement logic to it.
StylePluginBase::usesTokens function core/modules/views/src/Plugin/views/style/StylePluginBase.php Return TRUE if this style uses tokens.
SynchronizeCsrfTokenSeedTrait trait core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php Synchronizes the child site's CSRF token seed back to the test runner.
SynchronizeCsrfTokenSeedTrait.php file core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php
SynchronizeCsrfTokenSeedTrait::drupalLogin function core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php
SynchronizeCsrfTokenSeedTrait::drupalLogout function core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php
SynchronizeCsrfTokenSeedTrait::rebuildContainer function core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php
system.tokens.inc file core/modules/system/system.tokens.inc Builds placeholder replacement tokens system-wide data.
SystemTokensHooks class core/modules/system/src/Hook/SystemTokensHooks.php Hook implementations for system.
SystemTokensHooks.php file core/modules/system/src/Hook/SystemTokensHooks.php
SystemTokensHooks::tokenInfo function core/modules/system/src/Hook/SystemTokensHooks.php Implements hook_token_info().
SystemTokensHooks::tokens function core/modules/system/src/Hook/SystemTokensHooks.php Implements hook_tokens().
system_tokens function core/modules/system/system.tokens.inc Implements hook_tokens().
system_token_info function core/modules/system/system.tokens.inc Implements hook_token_info().
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.
TaxonomyTokensHooks class core/modules/taxonomy/src/Hook/TaxonomyTokensHooks.php Hook implementations for taxonomy.
TaxonomyTokensHooks.php file core/modules/taxonomy/src/Hook/TaxonomyTokensHooks.php
TaxonomyTokensHooks::tokenInfo function core/modules/taxonomy/src/Hook/TaxonomyTokensHooks.php Implements hook_token_info().
TaxonomyTokensHooks::tokens function core/modules/taxonomy/src/Hook/TaxonomyTokensHooks.php Implements hook_tokens().
taxonomy_tokens function core/modules/taxonomy/taxonomy.tokens.inc Implements hook_tokens().
taxonomy_token_info function core/modules/taxonomy/taxonomy.tokens.inc Implements hook_token_info().
TemporaryJsonapiFileFieldUploader::$token property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The token replacement instance.
TestController::$token property core/modules/system/tests/modules/token_test/src/Controller/TestController.php The token replacement system.
TestController::$tokenGenerator property core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php Token generator service.
TestController::getCsrfToken function core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php Just return generated CSRF token for concurrent requests.
TestController::tokenReplace function core/modules/system/tests/modules/token_test/src/Controller/TestController.php Provides a token replacement with a node as well as the current user.
TestController::tokenReplaceWithoutPassedBubbleableMetadata function core/modules/system/tests/modules/token_test/src/Controller/TestController.php Provides a token replacement with a node as well as the current user.
TestPluginBase::viewsTokenReplace function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Replaces Views' tokens in a given string.
ThemeTokenTest class core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php Tests the generation of 'theme_token' key in Drupal settings.
ThemeTokenTest.php file core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php
ThemeTokenTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php The theme to install as the default for testing.
ThemeTokenTest::$modules property core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php We want to visit the 'admin/structure/block' page.

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