Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
trusted_hosts_test.routing.yml file core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml
TurtleLazyBuilder class core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php Test class for testing fiber placeholders.
TurtleLazyBuilder::trustedCallbacks function core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php
TurtleLazyBuilder::turtle function core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php Render API callback: Suspends execution twice to simulate a long operation.
twig service core/core.services.yml Drupal\Core\Template\TwigEnvironment
twig-autoescape-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig {# Template for testing autoescape. #}
{{ script }}
twig-raw-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-raw-test.html.twig {# Template for testing |raw with autoescape. #}
{% autoescape %}
{{ script|raw }}
{% endautoescape %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-extend.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-include.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test.html.twig {% extends "twig-registry-loader-test-extend.html.twig" %}

{% block content %}
{% include "twig-registry-loader-test-include.html.twig" %}
{% endblock %}
twig-theme-test-embed-tag-embedded.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig This line is from twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig
twig.engine file core/themes/engines/twig/twig.engine Handles integration of Twig templates with the Drupal theme system.
twig.extension service core/core.services.yml Drupal\Core\Template\TwigExtension
twig.extension.debug service core/core.services.yml Twig\Extension\DebugExtension
twig.extension.varDumper service core/core.services.yml Drupal\Core\Template\DebugExtension
twig.info.yml file core/themes/engines/twig/twig.info.yml core/themes/engines/twig/twig.info.yml
twig.loader service core/core.services.yml Twig\Loader\ChainLoader
twig.loader.filesystem service core/core.services.yml Drupal\Core\Template\Loader\FilesystemLoader
twig.loader.string service core/core.services.yml Drupal\Core\Template\Loader\StringLoader
twig.loader.theme_registry service core/core.services.yml Drupal\Core\Template\Loader\ThemeRegistryLoader
TwigAllowed class core/lib/Drupal/Core/Template/Attribute/TwigAllowed.php Allow twig access to methods.
TwigAllowed.php file core/lib/Drupal/Core/Template/Attribute/TwigAllowed.php
TwigAllowListTest class core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Tests the allowed list of entity properties.
TwigAllowListTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php
TwigAllowListTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php
TwigAllowListTest::$term property core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Term for referencing.
TwigAllowListTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php
TwigAllowListTest::testAllowListChaining function core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Tests listing of methods doesn't interfere with chaining.
TwigAttributesTest class core/tests/Drupal/KernelTests/Core/Theme/TwigAttributesTest.php Tests Twig with Attribute objects.
TwigAttributesTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigAttributesTest.php
TwigAttributesTest::testYield function core/tests/Drupal/KernelTests/Core/Theme/TwigAttributesTest.php Tests that Attributes are rendered at the correct time within a macro.
TwigDebugMarkupTest class core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Tests for Twig debug markup.
TwigDebugMarkupTest.php file core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
TwigDebugMarkupTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
TwigDebugMarkupTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
TwigDebugMarkupTest::testTwigDebugMarkup function core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Tests debug markup added to Twig template output.
TwigDeprecationsTest class core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Tests deprecating variables passed to twig templates.
TwigDeprecationsTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php
TwigDeprecationsTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php
TwigDeprecationsTest::assertRendered function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Assert that 'theme_test_deprecations_preprocess' renders expected text.
TwigDeprecationsTest::getDeprecationMessage function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Get an example deprecation message for a named variable.
TwigDeprecationsTest::testAssignedVariableDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of variables assigned inside template triggers no error.
TwigDeprecationsTest::testEmptyDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of empty variable triggers error.
TwigDeprecationsTest::testHookThemeDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecating variables at definition in hook_theme().
TwigDeprecationsTest::testMultipleDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of multiple variables triggers errors.
TwigDeprecationsTest::testParentVariableDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of variables in parent does not leak to child.

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