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 |
---|---|---|---|
AjaxBasePageNegotiatorTest::$tokenGenerator | property | core/ |
The CSRF token generator. |
AjaxBasePageNegotiatorTest::testDetermineActiveThemeInvalidToken | function | core/ |
@covers ::determineActiveTheme |
AjaxBasePageNegotiatorTest::testDetermineActiveThemeValidToken | function | core/ |
@covers ::determineActiveTheme |
AreaTest::testRenderAreaToken | function | core/ |
Tests global tokens. |
ArgumentPluginBase::getTokenHelp | function | core/ |
Provide token help information for the argument. |
BatchStorage::$csrfToken | property | core/ |
The CSRF token generator. |
BigPipeTest::setCsrfTokenSeedInTestEnvironment | function | core/ |
Ensures CSRF tokens can be generated for the current user's session. |
CacheContextsManager::assertValidTokens | function | core/ |
Asserts the context tokens are valid |
CacheContextsManager::convertTokensToKeys | function | core/ |
Converts cache context tokens to cache keys. |
CacheContextsManager::optimizeTokens | function | core/ |
Optimizes cache context tokens (the minimal representative subset). |
CacheContextsManager::parseTokens | function | core/ |
Parses cache context tokens into context IDs and optional parameters. |
CacheContextsManager::validateTokens | function | core/ |
Validates an array of cache context tokens. |
CacheContextsManagerTest::providerTestOptimizeTokens | function | core/ |
Provides a list of context token sets. |
CacheContextsManagerTest::testConvertTokensToKeys | function | core/ |
@covers ::convertTokensToKeys |
CacheContextsManagerTest::testOptimizeTokens | function | core/ |
@covers ::optimizeTokens |
CacheContextsManagerTest::validateTokensProvider | function | core/ |
Provides a list of cache context token arrays. |
comment.tokens.inc | file | core/ |
Builds placeholder replacement tokens for comment-related data. |
CommentTokenReplaceTest | class | core/ |
Generates text using placeholders for dummy content to check comment token replacement. |
CommentTokenReplaceTest.php | file | core/ |
|
CommentTokenReplaceTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
CommentTokenReplaceTest::$modules | property | core/ |
Modules to install. |
CommentTokenReplaceTest::testCommentTokenReplacement | function | core/ |
Creates a comment, then tests the tokens generated from it. |
comment_tokens | function | core/ |
Implements hook_tokens(). |
comment_token_info | function | core/ |
Implements hook_token_info(). |
ContextualDynamicContextTest::createContextualIdToken | function | core/ |
Creates a contextual ID token. |
ContextualDynamicContextTest::testTokenProtection | function | core/ |
Tests the contextual placeholder content is protected by a token. |
ConvertTokens | class | core/ |
Plugin to replace !tokens with [tokens]. |
ConvertTokens.php | file | core/ |
|
ConvertTokens::transform | function | core/ |
Performs the associated process. |
ConvertTokensTest | class | core/ |
Tests the ConvertTokens plugin. |
ConvertTokensTest.php | file | core/ |
|
ConvertTokensTest::setUp | function | core/ |
|
ConvertTokensTest::testConvertTokens | function | core/ |
Tests conversion of user tokens. |
ConvertTokensTest::testConvertTokensNull | function | core/ |
Tests conversion of user tokens with a NULL value. |
CookieResourceTestTrait::$csrfToken | property | core/ |
The CSRF token. |
CookieResourceTestTrait::$logoutToken | property | core/ |
The logout token. |
CsrfAccessCheck::$csrfToken | property | core/ |
The CSRF token generator. |
CsrfAccessCheckTest::$csrfToken | property | core/ |
The mock CSRF token generator. |
CsrfAccessCheckTest::testAccessTokenPass | function | core/ |
Tests the access() method with a valid token. |
CsrfAccessCheckTest::testCsrfTokenInvalid | function | core/ |
@covers ::access |
CsrfAccessCheckTest::testCsrfTokenMissing | function | core/ |
@covers ::access |
CsrfRequestHeaderAccessCheck::$csrfToken | property | core/ |
The token generator. |
CsrfRequestHeaderAccessCheck::TOKEN_KEY | constant | core/ |
A string key that will used to designate the token used by this class. |
CsrfTokenController | class | core/ |
Returns responses for CSRF token routes. |
CsrfTokenController.php | file | core/ |
|
CsrfTokenController::$tokenGenerator | property | core/ |
The CSRF token generator. |
CsrfTokenController::create | function | core/ |
Instantiates a new instance of this class. |
CsrfTokenController::csrfToken | function | core/ |
Returns a CSRF protecting session token. |
CsrfTokenController::__construct | function | core/ |
Constructs a new CsrfTokenController object. |
CsrfTokenGenerator | class | core/ |
Generates and validates CSRF tokens. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.