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
ThemeTokenTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php
ThemeTokenTest::testThemeToken function core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php Tests if the 'theme_token' key of 'ajaxPageState' is computed.
TipPluginImage::$token property core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImage.php Token service.
TipPluginImageLegacy::$token property core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImageLegacy.php Token service.
TipPluginText::$token property core/modules/tour/src/Plugin/tour/tip/TipPluginText.php Token service.
TipPluginTextLegacy::$token property core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php Token service.
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.
token.api.php file core/lib/Drupal/Core/Utility/token.api.php Hooks related to the Token system.
Token.php file core/lib/Drupal/Core/Render/Element/Token.php
Token.php file core/lib/Drupal/Core/Utility/Token.php
Token::$cache property core/lib/Drupal/Core/Utility/Token.php The token cache.
Token::$cacheTagsInvalidator property core/lib/Drupal/Core/Utility/Token.php The cache tags invalidator.
Token::$languageManager property core/lib/Drupal/Core/Utility/Token.php The language manager.
Token::$moduleHandler property core/lib/Drupal/Core/Utility/Token.php The module handler service.
Token::$renderer property core/lib/Drupal/Core/Utility/Token.php The renderer.
Token::$tokenInfo property core/lib/Drupal/Core/Utility/Token.php Token definitions.
Token::doReplace function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in a given string with appropriate values.
Token::findWithPrefix function core/lib/Drupal/Core/Utility/Token.php Returns a list of tokens that begin with a specific prefix.
Token::generate function core/lib/Drupal/Core/Utility/Token.php Generates replacement values for a list of tokens.
Token::getInfo function core/lib/Drupal/Core/Render/Element/Token.php Returns the element properties for this element.
Token::getInfo function core/lib/Drupal/Core/Utility/Token.php Returns metadata describing supported tokens.
Token::replace function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in given markup with appropriate values.
Token::replacePlain function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in a given plain text string with appropriate values.
Token::resetInfo function core/lib/Drupal/Core/Utility/Token.php Resets metadata describing supported tokens.
Token::scan function core/lib/Drupal/Core/Utility/Token.php Builds a list of all token-like patterns that appear in the text.
Token::setInfo function core/lib/Drupal/Core/Utility/Token.php Sets metadata describing supported tokens.
Token::TOKEN_INFO_CACHE_TAG constant core/lib/Drupal/Core/Utility/Token.php The tag to cache token info with.
Token::valueCallback function core/lib/Drupal/Core/Render/Element/Token.php Determines how user input is mapped to an element's #value property.
Token::__construct function core/lib/Drupal/Core/Utility/Token.php Constructs a new class instance.
TokenizeAreaPluginBase class core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Tokenized base class for area handlers.
TokenizeAreaPluginBase.php file core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php
TokenizeAreaPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Provide a form to edit options for this plugin.
TokenizeAreaPluginBase::defineOptions function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Information about options for all kinds of purposes will be held here.
TokenizeAreaPluginBase::tokenForm function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Adds tokenization form elements.
TokenizeAreaPluginBase::tokenizeValue function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Replaces value with special views tokens and global tokens.
TokenizeAreaUITest class core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php Tests the token display for the TokenizeAreaPluginBase UI.
TokenizeAreaUITest.php file core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
TokenizeAreaUITest::$defaultTheme property core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php The theme to install as the default for testing.
TokenizeAreaUITest::$modules property core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php Modules to install.
TokenizeAreaUITest::testTokenUI function core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php Tests that the right tokens are shown as available for replacement.
TokenReplaceKernelTest class core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests token replacement.
TokenReplaceKernelTest.php file core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
TokenReplaceKernelTest::setUp function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
TokenReplaceKernelTest::testClear function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests the clear parameter.
TokenReplaceKernelTest::testSystemDateTokenReplacement function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests the generation of all system date tokens.
TokenReplaceKernelTest::testSystemSiteTokenReplacement function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests the generation of all system site information tokens.
TokenReplaceKernelTest::testSystemTokenRecognition function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests whether token-replacement works in various contexts.
TokenReplaceKernelTestBase class core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php Base class for token replacement tests.
TokenReplaceKernelTestBase.php file core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php

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