Search for token
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 | 
|---|---|---|---|
| TokenReplaceTest::testTaxonomyTokenReplacement | function | core/ | Creates some terms and a node, then tests the tokens generated from them. | 
| TokenReplaceTest::testTokenReplacement | function | core/ | Tests core token replacements generated from a view. | 
| TokenReplaceTest::testTokenReplacementNoPath | function | core/ | Tests path token replacements generated from a view without a path. | 
| TokenReplaceTest::testTokenReplacementNoResults | function | core/ | Tests core token replacements generated from a view without results. | 
| TokenReplaceTest::testTokenReplacementWithMiniPager | function | core/ | Tests core token replacements generated from a view. | 
| TokenReplaceTest::testTokenReplacementWithSpecificNumberOfItems | function | core/ | Tests token replacement of [view:total-rows] when pager is disabled. | 
| TokenReplaceWebTest | class | core/ | Tests the token system integration. | 
| TokenReplaceWebTest.php | file | core/ | |
| TokenReplaceWebTest::$defaultTheme | property | core/ | The theme to install as the default for testing. | 
| TokenReplaceWebTest::$modules | property | core/ | Modules to install. | 
| TokenReplaceWebTest::testTokens | function | core/ | Tests a token replacement on an actual website. | 
| 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::testScan | function | core/ | Scans dummy text, then tests the output. | 
| TokenTest::testScanDeprecation | function | core/ | Tests passing a non-string value to Token::scan(). | 
| 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. | 
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.
