Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
TokenReplaceTest::setUp function core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php
TokenReplaceTest::testTaxonomyTokenReplacement function core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php Creates some terms and a node, then tests the tokens generated from them.
TokenReplaceTest::testTokenReplacement function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core token replacements generated from a view.
TokenReplaceTest::testTokenReplacementNoPath function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests path token replacements generated from a view without a path.
TokenReplaceTest::testTokenReplacementNoResults function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core token replacements generated from a view without results.
TokenReplaceTest::testTokenReplacementWithMiniPager function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core token replacements generated from a view.
TokenReplaceTest::testTokenReplacementWithSpecificNumberOfItems function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests token replacement of [view:total-rows] when pager is disabled.
TokenReplaceWebTest class core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php Tests the token system integration.
TokenReplaceWebTest.php file core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php
TokenReplaceWebTest::$defaultTheme property core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php The theme to install as the default for testing.
TokenReplaceWebTest::$modules property core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php Modules to install.
TokenReplaceWebTest::testTokens function core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php Tests a token replacement on an actual website.
TokenTest class core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php Tests Drupal\Core\Render\Element\Token.
TokenTest class core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests Drupal\Core\Utility\Token.
TokenTest.php file core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TokenTest.php file core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php
TokenTest::$cache property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The cache used for testing.
TokenTest::$cacheContextManager property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The cache contexts manager.
TokenTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The cache tags invalidator.
TokenTest::$language property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The language interface used for testing.
TokenTest::$languageManager property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The language manager used for testing.
TokenTest::$moduleHandler property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The module handler service used for testing.
TokenTest::$renderer property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The renderer.
TokenTest::$token property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The token service under test.
TokenTest::providerTestReplaceEscaping function core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TokenTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php Data provider for testValueCallback().
TokenTest::setUp function core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TokenTest::setupSiteTokens function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Sets up the token library to return site tokens.
TokenTest::testGetInfo function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests get info.
TokenTest::testReplaceEscaping function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests replace escaping.
TokenTest::testReplacePlain function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests replace plain.
TokenTest::testReplaceWithBubbleableMetadataObject function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests replace with bubbleable metadata object.
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests replace with hook tokens alter with bubbleable metadata.
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests replace with hook tokens with bubbleable metadata.
TokenTest::testResetInfo function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Tests reset info.
TokenTest::testScan function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Scans dummy text, then tests the output.
TokenTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php Tests value callback.
token_test.info.yml file core/modules/system/tests/modules/token_test/token_test.info.yml core/modules/system/tests/modules/token_test/token_test.info.yml
token_test.routing.yml file core/modules/system/tests/modules/token_test/token_test.routing.yml core/modules/system/tests/modules/token_test/token_test.routing.yml
Toolbar class core/modules/toolbar/src/Element/Toolbar.php Provides a render element for the default Drupal toolbar.
toolbar-block.css file core/modules/navigation/css/components/toolbar-block.css Toolbar block styles.
toolbar-block.pcss.css file core/modules/navigation/css/components/toolbar-block.pcss.css Toolbar block styles.
toolbar-button.component.yml file core/modules/navigation/components/toolbar-button/toolbar-button.component.yml core/modules/navigation/components/toolbar-button/toolbar-button.component.yml
toolbar-button.css file core/modules/navigation/components/toolbar-button/toolbar-button.css Toolbar button styles.
toolbar-button.pcss.css file core/modules/navigation/components/toolbar-button/toolbar-button.pcss.css Toolbar button styles.
toolbar-button.twig file core/modules/navigation/components/toolbar-button/toolbar-button.twig {# Extra classes variable added to be sure that modifiers will
appear after main classes #}
{%
set classes = [
'toolbar-button',
icon.icon_id ? 'toolbar-button--icon--' ~ icon.icon_id : '',
]
%}

{% if…
toolbar-dropdown.css file core/modules/navigation/css/components/toolbar-dropdown.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/* cspell:ignore wght */
:is(#extra-specificity-hack, [data-drupal-admin-styles]) {
.toolbar-dropdown__item…
toolbar-dropdown.pcss.css file core/modules/navigation/css/components/toolbar-dropdown.pcss.css /* cspell:ignore wght */
:is(#extra-specificity-hack, [data-drupal-admin-styles]) {
.toolbar-dropdown__item + .toolbar-dropdown__item {
border-top: 1px solid #d8dfea;
}

.toolbar-dropdown__link {
display: block;
padding-inline:…
toolbar-menu.css file core/modules/navigation/css/components/toolbar-menu.css Admin Toolbar menus styles.
toolbar-menu.pcss.css file core/modules/navigation/css/components/toolbar-menu.pcss.css Admin Toolbar menus styles.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.