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 |
|---|---|---|---|
| ExcludedFieldTokenTest | class | core/ |
Tests the display of an excluded field that is used as a token. |
| ExcludedFieldTokenTest.php | file | core/ |
|
| ExcludedFieldTokenTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ExcludedFieldTokenTest::$modules | property | core/ |
The modules that need to be installed for this test. |
| ExcludedFieldTokenTest::$testViews | property | core/ |
The views that are used by this test. |
| ExcludedFieldTokenTest::$view | property | core/ |
|
| ExcludedFieldTokenTest::setUp | function | core/ |
Sets up the test. |
| ExcludedFieldTokenTest::testExcludedTitleTokenDisplay | function | core/ |
Tests the display of an excluded title field when used as a token. |
| FieldCounterTest::testExcludedTitleTokenDisplay | function | core/ |
Tests the display of an excluded title field when used as a token. |
| FieldCustomTest::testFieldCustomTokens | function | core/ |
Ensure that custom fields can use tokens. |
| FieldFieldTest::testRevisionTokenRender | function | core/ |
Tests the token replacement for revision fields. |
| FieldHandlerInterface::getRenderTokens | function | core/ |
Gets the 'render' tokens to use for advanced rendering. |
| FieldHandlerInterface::tokenizeValue | function | core/ |
Replaces a value with tokens from the last field. |
| FieldKernelTest::testArgumentTokens | function | core/ |
Tests the arguments tokens on field level. |
| FieldKernelTest::testFieldTokens | function | core/ |
Tests the field tokens, row level and field level. |
| FieldKernelTest::testRewriteHtmlWithTokens | function | core/ |
Tests rewriting of the output with HTML. |
| FieldKernelTest::testRewriteHtmlWithTokensAndAggregation | function | core/ |
Tests rewriting of the output with HTML and aggregation. |
| FieldPluginBase::$last_tokens | property | core/ |
The last rendered tokens. |
| FieldPluginBase::addSelfTokens | function | core/ |
Add any special tokens this field might use for itself. |
| FieldPluginBase::documentSelfTokens | function | core/ |
Document any special tokens this field might use for itself. |
| FieldPluginBase::getFieldTokenPlaceholder | function | core/ |
Returns a token placeholder for the current field. |
| FieldPluginBase::getRenderTokens | function | core/ |
Gets the 'render' tokens to use for advanced rendering. |
| FieldPluginBase::getTokenValuesRecursive | function | core/ |
Recursive function to add replacements for nested query string parameters. |
| FieldPluginBase::tokenizeValue | function | core/ |
Replaces a value with tokens from the last field. |
| FieldPluginBaseTest::providerTestGetRenderTokensWithQuery | function | core/ |
Data provider for ::testGetRenderTokensWithQuery(). |
| FieldPluginBaseTest::providerTestRenderAsExternalLinkWithPathAndTokens | function | core/ |
Data provider for ::testRenderAsExternalLinkWithPathAndTokens(). |
| FieldPluginBaseTest::providerTestRenderAsLinkWithPathAndTokens | function | core/ |
Data provider for ::testRenderAsLinkWithPathAndTokens(). |
| FieldPluginBaseTest::testElementClassesWithTokens | function | core/ |
Ensures proper token replacement when generating CSS classes. |
| FieldPluginBaseTest::testGetRenderTokensWithArguments | function | core/ |
@covers ::getRenderTokens[[api-linebreak]] |
| FieldPluginBaseTest::testGetRenderTokensWithoutArguments | function | core/ |
@covers ::getRenderTokens[[api-linebreak]] |
| FieldPluginBaseTest::testGetRenderTokensWithoutFieldsAndArguments | function | core/ |
@covers ::getRenderTokens[[api-linebreak]] |
| FieldPluginBaseTest::testGetRenderTokensWithQuery | function | core/ |
@dataProvider providerTestGetRenderTokensWithQuery @covers ::getRenderTokens[[api-linebreak]] @covers ::getTokenValuesRecursive[[api-linebreak]] |
| FieldPluginBaseTest::testRenderAsExternalLinkWithPathAndTokens | function | core/ |
Tests rendering of a link with a path and options. |
| FieldPluginBaseTest::testRenderAsLinkWithPathAndTokens | function | core/ |
Tests rendering of a link with a path and options. |
| FieldSelfTokensTest | class | core/ |
Tests token escaping in the EntityField handler. |
| FieldSelfTokensTest.php | file | core/ |
|
| FieldSelfTokensTest::$modules | property | core/ |
Modules to install. |
| FieldSelfTokensTest::$testViews | property | core/ |
Views used by this test. |
| FieldSelfTokensTest::setUp | function | core/ |
This method is called before each test. |
| FieldSelfTokensTest::testSelfTokenEscaping | function | core/ |
|
| FieldTest::addSelfTokens | function | core/ |
Add any special tokens this field might use for itself. |
| FileTokenReplaceTest | class | core/ |
Tests file token replacement. |
| FileTokenReplaceTest.php | file | core/ |
|
| FileTokenReplaceTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FileTokenReplaceTest::testFileTokenReplacement | function | core/ |
Creates a file, then tests the tokens generated from it. |
| file_tokens | function | core/ |
Implements hook_tokens(). |
| file_token_info | function | core/ |
Implements hook_token_info(). |
| FormBuilder::$csrfToken | property | core/ |
The CSRF token generator to validate the form token. |
| FormBuilder::renderFormTokenPlaceholder | function | core/ |
Renders the form CSRF token. It's a #lazy_builder callback. |
| FormBuilder::setInvalidTokenError | function | core/ |
Sets a form_token error on the given form state. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.