Files - 11.x - drupal

Primary tabs

Title Deprecated File name Namespace Summary
TwigLoaderTest.php core/modules/system/tests/src/Kernel/Theme/TwigLoaderTest.php Drupal\Tests\system\Kernel\Theme
TwigMarkupInterfaceTest.php core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php Drupal\KernelTests\Core\Theme
TwigNamespaceTest.php core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php Drupal\Tests\system\Kernel\Theme
TwigNodeCheckDeprecations.php core/lib/Drupal/Core/Template/TwigNodeCheckDeprecations.php Drupal\Core\Template
TwigNodeTrans.php core/lib/Drupal/Core/Template/TwigNodeTrans.php Drupal\Core\Template
TwigNodeVisitor.php core/lib/Drupal/Core/Template/TwigNodeVisitor.php Drupal\Core\Template
TwigNodeVisitorCheckDeprecations.php core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php Drupal\Core\Template
TwigPhpStorageCache.php core/lib/Drupal/Core/Template/TwigPhpStorageCache.php Drupal\Core\Template
TwigRawTest.php core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php Drupal\Tests\system\Kernel\Theme
TwigRegistryLoaderTest.php core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php Drupal\Tests\system\Functional\Theme
TwigSandboxPolicy.php core/lib/Drupal/Core/Template/TwigSandboxPolicy.php Drupal\Core\Template
TwigSandboxTest.php core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Drupal\Tests\Core\Template
TwigSettingsTest.php core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php Drupal\Tests\system\Functional\Theme
TwigSimpleCheckToStringNode.php core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php Drupal\Core\Template
TwigThemeTestController.php core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Drupal\twig_theme_test
TwigThemeTestHooks.php core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Drupal\twig_theme_test\Hook
TwigThemeTestUtils.php core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestUtils.php Drupal\twig_theme_test
TwigTransTest.php core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Drupal\Tests\system\Functional\Theme
TwigTransTokenParser.php core/lib/Drupal/Core/Template/TwigTransTokenParser.php Drupal\Core\Template
twig_extension_test.filter.html.twig core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.filter.html.twig <div class="test-filter"> {{ message|test_filter}} </div> <div> {{ safe_join_items|safe_join('<br/>') }} </div>
twig_extension_test.function.html.twig core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig <div class="test-function"> {{ custom_function(1) }} </div> <div class="test-function"> {{ custom_function(0) }} </div>
twig_extension_test.info.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml
twig_extension_test.routing.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml
twig_extension_test.services.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.services.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.services.yml
twig_loader_test.info.yml core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml
twig_loader_test.services.yml core/modules/system/tests/modules/twig_loader_test/twig_loader_test.services.yml core/modules/system/tests/modules/twig_loader_test/twig_loader_test.services.yml
twig_namespace_a.info.yml core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml
twig_namespace_b.info.yml core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml
twig_namespace_test.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_namespace_test.html.twig {% extends "@twig_namespace_a/test.html.twig" %} {% block content %} {% include "@twig_namespace_b/test.html.twig" %} {% endblock %}
twig_theme_test.attach_library.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig {{ attach_library('core/ckeditor5') }}
twig_theme_test.dump.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.dump.html.twig {% set foo = '💩' %} {% set bar = '🐣' %} {% set baz = '☄️' %} {{ dump(foo) }} {{ dump() }} {{ dump(foo, baz) }}
twig_theme_test.embed_tag.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.embed_tag.html.twig {% embed "@twig_theme_test/twig-theme-test-embed-tag-embedded.html.twig" %} {% endembed %}
twig_theme_test.file_url.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_url.html.twig <div>file_url: {{ file_url('core/modules/system/tests/modules/twig_theme_test/js/twig_theme_test.js') }}</div> <div>file_url: {{ file_url(undefined_variable) }}</div>
twig_theme_test.filter.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig <div><strong>No author:</strong> {{ quote|without('author') }}.</div> <div><strong>Complete quote after without:</strong> {{ quote }}.</div> <div><strong>Only author:</strong>…
twig_theme_test.info.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml
twig_theme_test.link_generator.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.link_generator.html.twig <div>link via the link generator: {{ link('register', test_url) }}</div> <div>link via the link generator: {{ link('register', test_url, {'foo': 'bar'}) }}</div> <div>link via the…
twig_theme_test.php_variables.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig {# Output for Twig Theme PHP variables test. #} <ul> {% for key, php_value in php_values %} <li>{{ key }}: {{ php_value.value }}</li> {% endfor %} </ul>
twig_theme_test.placeholder_outside_trans.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.placeholder_outside_trans.html.twig Placeholder outside trans: {{ var | placeholder }} {% trans %} Placeholder inside trans: {{ var | placeholder }} {% endtrans %}
twig_theme_test.renderable.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.renderable.html.twig <div>{{ renderable }}</div>
twig_theme_test.routing.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
twig_theme_test.trans.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.trans.html.twig {# Test trans tag with string argument. #} <div> {% trans 'Hello sun.' %} </div> {# Test trans tag with string argument and context #} <div> {% trans 'Hello sun.' with {'context':…
twig_theme_test.url_generator.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_generator.html.twig {# Test the url and path twig functions #} <div>path (as route) not absolute: {{ path('user.register') }}</div> <div>url (as route) absolute: {{ url('user.register') }}</div> <div>path (as route) not…
twig_theme_test.url_to_string.html.twig core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_to_string.html.twig <div>rendered url: {{ test_url }}</div>
twocol.css core/modules/layout_discovery/layouts/twocol/twocol.css /* * @file * Provides the layout styles for layout_twocol. */ .layout--twocol { display: flex; flex-wrap: wrap; } .layout--twocol > .layout__region { flex: 0 1 100%; } @media screen and (min-width: 40em) { .layout--twocol >…
twocol.css core/themes/stable9/layouts/layout_discovery/twocol/twocol.css /* * @file * Provides the layout styles for layout_twocol. */ .layout--twocol { display: flex; flex-wrap: wrap; } .layout--twocol > .layout__region { flex: 0 1 100%; } @media screen and (min-width: 40em) { .layout--twocol >…
TwoColumnLayout.php core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php Drupal\layout_builder\Plugin\Layout
twocol_bricks.css core/themes/stable9/layouts/layout_discovery/twocol_bricks/twocol_bricks.css /* * @file * Provides the layout styles for layout_twocol_bricks. */ .layout--twocol-bricks { display: flex; flex-wrap: wrap; } .layout--twocol-bricks > .layout__region { flex: 0 1 100%; } @media screen and (min-width: 40em) { …
twocol_bricks.css core/modules/layout_discovery/layouts/twocol_bricks/twocol_bricks.css /* * @file * Provides the layout styles for layout_twocol_bricks. */ .layout--twocol-bricks { display: flex; flex-wrap: wrap; } .layout--twocol-bricks > .layout__region { flex: 0 1 100%; } @media screen and (min-width: 40em) { …
twocol_section.css core/themes/stable9/layouts/layout_builder/twocol_section/twocol_section.css /* * @file * Provides the layout styles for two-column layout section. */ .layout--twocol-section { display: flex; flex-wrap: wrap; } .layout--twocol-section > .layout__region { flex: 0 1 100%; } @media screen and (min-width: 40em) { …
twocol_section.css core/profiles/demo_umami/themes/umami/layouts/twocol_section/twocol_section.css /* * @file * Provides the layout styles for two-column layout section. */ .layout--twocol-section { display: flex; flex-wrap: wrap; } .layout--twocol-section > .layout__region { flex: 0 1 100%; } /* Medium */ @media screen and…

Other projects


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