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::$vocabulary | property | core/ |
The vocabulary used for creating terms. |
TokenReplaceTest::setUp | function | core/ |
|
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/ |
|
TokenReplaceWebTest::$modules | property | core/ |
|
TokenReplaceWebTest::testTokens | function | core/ |
Tests a token replacement on an actual website. |
TokenTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Element\Token @group Render |
TokenTest | class | core/ |
@coversDefaultClass \Drupal\Core\Utility\Token @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 |
TokenTest::testReplaceEscaping | function | core/ |
@covers ::replace @dataProvider providerTestReplaceEscaping |
TokenTest::testReplacePlain | function | core/ |
@covers ::replacePlain |
TokenTest::testReplaceWithBubbleableMetadataObject | function | core/ |
@covers ::replace |
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata | function | core/ |
@covers ::replace @covers ::replace |
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata | function | core/ |
@covers ::replace |
TokenTest::testResetInfo | function | core/ |
@covers ::resetInfo |
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 |
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/ |
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.