Search for token
- Search 7.x for token
- Search 9.5.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 |
|---|---|---|---|
| MetadataBag::getCsrfTokenSeed | function | core/ |
Get the CSRF token seed. |
| MetadataBag::setCsrfTokenSeed | function | core/ |
Set the CSRF token seed. |
| node.tokens.inc | file | core/ |
Builds placeholder replacement tokens for node-related data. |
| NodeFieldTokensTest | class | core/ |
Tests replacement of Views tokens supplied by the Node module. |
| NodeFieldTokensTest.php | file | core/ |
|
| NodeFieldTokensTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| NodeFieldTokensTest::$testViews | property | core/ |
Views used by this test. |
| NodeFieldTokensTest::testViewsTokenReplacement | function | core/ |
Tests token replacement for Views tokens supplied by the Node module. |
| NodeTokenReplaceTest | class | core/ |
Generates text using placeholders for dummy content to check node token replacement. |
| NodeTokenReplaceTest.php | file | core/ |
|
| NodeTokenReplaceTest::$modules | property | core/ |
Modules to enable. |
| NodeTokenReplaceTest::setUp | function | core/ |
|
| NodeTokenReplaceTest::testNodeTokenReplacement | function | core/ |
Creates a node, then tests the tokens generated from it. |
| node_tokens | function | core/ |
Implements hook_tokens(). |
| node_token_info | function | core/ |
Implements hook_token_info(). |
| PluginBase::getAvailableGlobalTokens | function | core/ |
Returns an array of available token replacements. |
| PluginBase::globalTokenForm | function | core/ |
Adds elements for available core tokens to a form. |
| PluginBase::globalTokenReplace | function | core/ |
Returns a string with any core tokens replaced. |
| PluginBase::viewsTokenReplace | function | core/ |
Replaces Views' tokens in a given string. The resulting string will be sanitized with Xss::filterAdmin. |
| PluginBaseTest::testViewsTokenReplace | function | core/ |
Test that the token replacement in views works correctly. |
| PluginBaseTest::testViewsTokenReplaceWithDots | function | core/ |
Test that the token replacement in views works correctly with dots. |
| PluginBaseTest::testViewsTokenReplaceWithTwigTokens | function | core/ |
Tests viewsTokenReplace without any twig tokens. |
| PoHeader::tokenizeFormula | function | core/ |
Tokenize the formula. |
| rebuild_token_calculator.sh | file | core/ |
Command line token calculator for rebuild.php. |
| Roles::addSelfTokens | function | core/ |
Add any special tokens this field might use for itself. |
| Roles::documentSelfTokens | function | core/ |
Document any special tokens this field might use for itself. |
| RouteProcessorCsrf::$csrfToken | property | core/ |
The CSRF token generator. |
| RouteProcessorCsrf::renderPlaceholderCsrfToken | function | core/ |
#lazy_builder callback; gets a CSRF token for the given path. |
| RouteProcessorCsrfTest::$csrfToken | property | core/ |
The mock CSRF token generator. |
| SearchTokenizerTest | class | core/ |
Tests that CJK tokenizer works as intended. |
| SearchTokenizerTest.php | file | core/ |
|
| SearchTokenizerTest::$modules | property | core/ |
Modules to enable. |
| SearchTokenizerTest::code2utf | function | core/ |
Like PHP chr() function, but for unicode characters. |
| SearchTokenizerTest::testNoTokenizer | function | core/ |
Verifies that strings of non-CJK characters are not tokenized. |
| SearchTokenizerTest::testTokenizer | function | core/ |
Verifies that strings of CJK characters are tokenized. |
| statistics.tokens.inc | file | core/ |
Builds placeholder replacement tokens for node visitor statistics. |
| StatisticsTokenReplaceTest | class | core/ |
Generates text using placeholders for dummy content to check statistics token replacement. |
| StatisticsTokenReplaceTest.php | file | core/ |
|
| StatisticsTokenReplaceTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| StatisticsTokenReplaceTest::testStatisticsTokenReplacement | function | core/ |
Creates a node, then tests the statistics tokens generated from it. |
| statistics_tokens | function | core/ |
Implements hook_tokens(). |
| statistics_token_info | function | core/ |
Implements hook_token_info(). |
| StylePluginBase::$rowTokens | property | core/ |
Store all available tokens row rows. |
| StylePluginBase::tokenizeValue | function | core/ |
Take a value and apply token replacement logic to it. |
| StylePluginBase::usesTokens | function | core/ |
Return TRUE if this style uses tokens. |
| system.tokens.inc | file | core/ |
Builds placeholder replacement tokens system-wide data. |
| system_tokens | function | core/ |
Implements hook_tokens(). |
| system_token_info | function | core/ |
Implements hook_token_info(). |
| taxonomy.tokens.inc | file | core/ |
Builds placeholder replacement tokens for taxonomy terms and vocabularies. |
| TaxonomyFieldAllTermsTest::testViewsHandlerAllTermsWithTokens | function | core/ |
Tests token replacement in the "all terms" field handler. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.