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. Search main for token
  6. 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
DesignTokenValuePluginManagerKernelTest class core/tests/Drupal/KernelTests/Core/Theme/DesignToken/DesignTokenValuePluginManagerKernelTest.php Tests the design token value plugin manager.
DesignTokenValuePluginManagerKernelTest.php file core/tests/Drupal/KernelTests/Core/Theme/DesignToken/DesignTokenValuePluginManagerKernelTest.php
DesignTokenValuePluginManagerKernelTest::$designTokenValuePluginManager property core/tests/Drupal/KernelTests/Core/Theme/DesignToken/DesignTokenValuePluginManagerKernelTest.php The DesignTokenValuePluginManager service.
DesignTokenValuePluginManagerKernelTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/DesignToken/DesignTokenValuePluginManagerKernelTest.php
DesignTokenValuePluginManagerKernelTest::testDetectedPlugins function core/tests/Drupal/KernelTests/Core/Theme/DesignToken/DesignTokenValuePluginManagerKernelTest.php Tests detected plugins provided by Core.
DesignTokenValuePluginManagerKernelTest::testPluginInterfaces function core/tests/Drupal/KernelTests/Core/Theme/DesignToken/DesignTokenValuePluginManagerKernelTest.php Tests plugin interfaces.
DesignTokenValuePluginTestBase class core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginTestBase.php Base class for testing design token value plugins.
DesignTokenValuePluginTestBase.php file core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginTestBase.php
DesignTokenValuePluginTestBase::$pluginId property core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginTestBase.php The tested plugin ID.
DesignTokenValuePluginTestBase::testToCss function core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginTestBase.php Tests toCss.
DesignTokenValuePluginTestBase::testToDtcg function core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginTestBase.php Tests toDtcg.
DesignTokenXmlAnonTest class core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlAnonTest.php Tests Design Token Xml Anon.
DesignTokenXmlAnonTest.php file core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlAnonTest.php
DesignTokenXmlAnonTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlAnonTest.php The theme to install as the default for testing.
DesignTokenXmlAnonTest::$format property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlAnonTest.php The format to use in this test.
DesignTokenXmlAnonTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlAnonTest.php The MIME type that corresponds to $format.
DesignTokenXmlBasicAuthTest class core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php Tests Design Token Xml Basic Auth.
DesignTokenXmlBasicAuthTest.php file core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php
DesignTokenXmlBasicAuthTest::$auth property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php The authentication mechanism to use in this test.
DesignTokenXmlBasicAuthTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php The theme to install as the default for testing.
DesignTokenXmlBasicAuthTest::$format property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php The format to use in this test.
DesignTokenXmlBasicAuthTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php The MIME type that corresponds to $format.
DesignTokenXmlBasicAuthTest::$modules property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php Modules to install.
DesignTokenXmlCookieTest class core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlCookieTest.php Tests Design Token Xml Cookie.
DesignTokenXmlCookieTest.php file core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlCookieTest.php
DesignTokenXmlCookieTest::$auth property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlCookieTest.php The authentication mechanism to use in this test.
DesignTokenXmlCookieTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlCookieTest.php The theme to install as the default for testing.
DesignTokenXmlCookieTest::$format property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlCookieTest.php The format to use in this test.
DesignTokenXmlCookieTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlCookieTest.php The MIME type that corresponds to $format.
design_tokens_test.info.yml file core/modules/system/tests/modules/design_tokens_test/design_tokens_test.info.yml core/modules/system/tests/modules/design_tokens_test/design_tokens_test.info.yml
design_tokens_test.tokens.yml file core/modules/system/tests/modules/design_tokens_test/design_tokens_test.tokens.yml core/modules/system/tests/modules/design_tokens_test/design_tokens_test.tokens.yml
DisplayPluginBase::getArgumentsTokens function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Returns to tokens for arguments.
DisplayPluginBase::recursiveReplaceTokens function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Replace the query parameters recursively, both key and value.
DisplayPluginInterface::getArgumentsTokens function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Returns to tokens for arguments.
DocLexer::nextTokenIsAdjacent function core/lib/Drupal/Component/Annotation/Doctrine/DocLexer.php Whether the next token starts immediately, or if there were
non-captured symbols before that
DocParser::findInitialTokenPosition function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Finds the first valid annotation
Drupal::csrfToken function core/lib/Drupal.php Returns the CSRF token manager service.
Drupal::token function core/lib/Drupal.php Returns the token service.
DrupalTest::testCsrfToken function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the csrfToken() method.
DrupalTest::testToken function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the token() method.
DynamicPluginConfigWithCsrfTokenUrlTrait trait core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/DynamicPluginConfigWithCsrfTokenUrlTrait.php Provides a trait for CKEditor 5 with dynamically generated CSRF token URLs.
DynamicPluginConfigWithCsrfTokenUrlTrait.php file core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/DynamicPluginConfigWithCsrfTokenUrlTrait.php
DynamicPluginConfigWithCsrfTokenUrlTrait::getUrlWithReplacedCsrfTokenPlaceholder function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/DynamicPluginConfigWithCsrfTokenUrlTrait.php Gets the given URL with all placeholders replaced.
EmailAction::$token property core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php The token service.
EntityField::addSelfTokens function core/modules/views/src/Plugin/views/field/EntityField.php Add any special tokens this field might use for itself.
EntityField::documentSelfTokens function core/modules/views/src/Plugin/views/field/EntityField.php Document any special tokens this field might use for itself.
EntityTest::providerTestTokens function core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php Data provider for testing different types of tokens.
EntityTest::testRenderWithIdAndToken function core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php Tests render with id and token.
ExcludedFieldTokenTest class core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php Tests the display of an excluded field that is used as a token.
ExcludedFieldTokenTest.php file core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php

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