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. Search 11.x for to
  6. Other projects
Title Object type File name Summary
TokenTest::$moduleHandler property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The module handler service used for testing.
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::setUpMockCache function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Reinitializes the cache as a mock object.
TokenTest::setUpMockCacheTagsInvalidator function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Reinitializes the cache tags invalidator as a mock object.
TokenTest::setUpMockLanguageManager function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Reinitializes the language manager as a mock object.
TokenTest::setUpMockModuleHandler function core/tests/Drupal/Tests/Core/Utility/TokenTest.php Reinitializes the module handler as a mock object.
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.
toolbar-message.css file core/modules/navigation/css/components/toolbar-message.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-message {
toolbar-message.pcss.css file core/modules/navigation/css/components/toolbar-message.pcss.css /* cspell:ignore wght */

:is(#extra-specificity-hack, [data-drupal-admin-styles]) {
.toolbar-message {
z-index: 1;
display: flex;
align-items: start;
cursor: pointer;
text-align: start;
text-decoration: none;
toolbar-popover.css file core/modules/navigation/css/components/toolbar-popover.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
:is(#extra-specificity-hack, [data-drupal-admin-styles]) {
.toolbar-popover__wrapper {
border: solid…
toolbar-popover.pcss.css file core/modules/navigation/css/components/toolbar-popover.pcss.css @import "../base/media-queries.pcss.css";

:is(#extra-specificity-hack, [data-drupal-admin-styles]) {
.toolbar-popover__wrapper {
border: solid 1px transparent;
}

.toolbar-popover {
border-radius:…
toolbar-warning.css file core/profiles/demo_umami/css/toolbar-warning.css Styling for toolbar warning message.
toolbar-workspaces.css file core/modules/navigation/css/components/toolbar-workspaces.css Styling for the Workspaces navigation item.
toolbar-workspaces.pcss.css file core/modules/navigation/css/components/toolbar-workspaces.pcss.css Styling for the Workspaces navigation item.
toolbar.admin.css file core/modules/ckeditor5/css/toolbar.admin.css .ckeditor5-toolbar-disabled {
display: flex;
justify-content: space-between;
}
.ckeditor5-toolbar-available {
flex: 1;
}

.ckeditor5-toolbar-tray {
display: flex;
flex-flow: row wrap;
align-items: center;
min-height: 40px;
margin: 0 0…
toolbar.api.php file core/modules/toolbar/toolbar.api.php Hooks provided by the toolbar module.
toolbar.breakpoints.yml file core/modules/toolbar/toolbar.breakpoints.yml core/modules/toolbar/toolbar.breakpoints.yml
toolbar.css file core/profiles/demo_umami/themes/umami/css/components/toolbar/toolbar.css This file is used to style the admin toolbar.
toolbar.css file core/themes/admin/migration/css/components/toolbar.css /* cspell:ignore tmgmt */

body.gin--toolbar {
margin-inline-start: 0;
padding-block-start: var(--gin-toolbar-y-offset) !important;
padding-inline-start: var(--gin-toolbar-x-offset, 256px) !important;
}

.toolbar {
font-family:…
toolbar.css file core/themes/admin/migration/css/layout/toolbar.css :root {
--gin-toolbar-height: 39px;
--gin-toolbar-secondary-height: 48px;
--gin-scroll-offset: 72px;
--gin-toolbar-y-offset: var(--gin-toolbar-height);
--gin-toolbar-x-offset: 0px;
--gin-sticky-offset: 0px;
}

@media (min-width: 64em) {
toolbar.css file core/themes/default_admin/migration/css/components/toolbar.css Styles for the admin toolbar and its trays.
toolbar.css file core/themes/default_admin/migration/css/layout/toolbar.css Legacy toolbar layout styles.
toolbar.html.twig file core/themes/admin/templates/navigation/toolbar.html.twig Theme override for the administrative toolbar.
toolbar.html.twig file core/themes/admin/templates/classy/navigation/toolbar.html.twig Theme override for the administrative toolbar.
toolbar.html.twig file core/themes/default_admin/templates/navigation/toolbar.html.twig Theme override for the administrative toolbar.

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