Search for token
- Search 7.x for token
- Search 8.9.x for token
- Search 10.3.x for token
- Search 11.x for token
- Other projects
Exact matches
| Title | Object type | File name | Summary | 
|---|---|---|---|
| token | service | core/ | Drupal\Core\Utility\Token | 
| Token | class | core/ | Stores token data in a hidden form field. | 
| Token | class | core/ | Drupal placeholder/token replacement system. | 
All search results
| Title | Object type | File name | Summary | 
|---|---|---|---|
| TokenScanTest | class | core/ | Scan token-like patterns in a dummy text to check token scanning. | 
| TokenScanTest.php | file | core/ | |
| TokenScanTest::$defaultTheme | property | core/ | The theme to install as the default for testing. | 
| TokenScanTest::testTokenScan | function | core/ | Scans dummy text, then tests the output. | 
| TokenTest | class | core/ | @coversDefaultClass \Drupal\Core\Render\Element\Token[[api-linebreak]] @group Render | 
| TokenTest | class | core/ | @coversDefaultClass \Drupal\Core\Utility\Token[[api-linebreak]] @group Utility | 
| TokenTest.php | file | core/ | |
| TokenTest.php | file | core/ | |
| TokenTest::$cache | property | core/ | The cache used for testing. | 
| TokenTest::$cacheContextManager | property | core/ | The cache contexts manager. | 
| TokenTest::$cacheTagsInvalidator | property | core/ | The cache tags invalidator. | 
| TokenTest::$language | property | core/ | The language interface used for testing. | 
| TokenTest::$languageManager | property | core/ | The language manager used for testing. | 
| TokenTest::$moduleHandler | property | core/ | The module handler service used for testing. | 
| TokenTest::$renderer | property | core/ | The renderer. | 
| TokenTest::$token | property | core/ | The token service under test. | 
| TokenTest::providerTestReplaceEscaping | function | core/ | |
| TokenTest::providerTestValueCallback | function | core/ | Data provider for testValueCallback(). | 
| TokenTest::setUp | function | core/ | |
| TokenTest::setupSiteTokens | function | core/ | Sets up the token library to return site tokens. | 
| TokenTest::testGetInfo | function | core/ | @covers ::getInfo[[api-linebreak]] | 
| TokenTest::testReplaceEscaping | function | core/ | @covers ::replace[[api-linebreak]] @dataProvider providerTestReplaceEscaping | 
| TokenTest::testReplacePlain | function | core/ | @covers ::replacePlain[[api-linebreak]] | 
| TokenTest::testReplaceWithBubbleableMetadataObject | function | core/ | @covers ::replace[[api-linebreak]] | 
| TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata | function | core/ | @covers ::replace[[api-linebreak]] @covers ::replace[[api-linebreak]] | 
| TokenTest::testReplaceWithHookTokensWithBubbleableMetadata | function | core/ | @covers ::replace[[api-linebreak]] | 
| TokenTest::testResetInfo | function | core/ | @covers ::resetInfo[[api-linebreak]] | 
| TokenTest::testValueCallback | function | core/ | @covers ::valueCallback[[api-linebreak]] | 
| token_test.info.yml | file | core/ | core/modules/system/tests/modules/token_test/token_test.info.yml | 
| token_test.routing.yml | file | core/ | core/modules/system/tests/modules/token_test/token_test.routing.yml | 
| TwigExtension::getTokenParsers | function | core/ | |
| TwigTransTokenParser | class | core/ | A class that defines the Twig 'trans' token parser for Drupal. | 
| TwigTransTokenParser.php | file | core/ | |
| TwigTransTokenParser::checkTransString | function | core/ | Ensure that any nodes that are parsed are only of allowed types. | 
| TwigTransTokenParser::decideForEnd | function | core/ | Detect the end of a 'trans' tag. | 
| TwigTransTokenParser::decideForFork | function | core/ | Detect a 'plural' switch or the end of a 'trans' tag. | 
| TwigTransTokenParser::getTag | function | core/ | |
| TwigTransTokenParser::parse | function | core/ | |
| UncacheableFieldHandlerTrait::getFieldTokenPlaceholder | function | core/ | |
| user.tokens.inc | file | core/ | Builds placeholder replacement tokens for user-related data. | 
| UserAccountFormPasswordResetTest::testPasswordResetToken | function | core/ | Tests the reset token used only from query string. | 
| UserAuthenticationController::$csrfToken | property | core/ | The CSRF token generator. | 
| UserTokenReplaceTest | class | core/ | Tests the replacement of user tokens. | 
| UserTokenReplaceTest.php | file | core/ | |
| UserTokenReplaceTest::$defaultTheme | property | core/ | The theme to install as the default for testing. | 
| UserTokenReplaceTest::$modules | property | core/ | Modules to enable. | 
| UserTokenReplaceTest::setUp | function | core/ | |
| UserTokenReplaceTest::testUserTokenReplacement | function | core/ | Creates a user, then tests the tokens generated from it. | 
| user_mail_tokens | function | core/ | Token callback to add unsafe tokens for user mails. | 
| user_tokens | function | core/ | Implements hook_tokens(). | 
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
