40 string references to twig

ActiveTheme::__construct in core/lib/Drupal/Core/Theme/ActiveTheme.php
Constructs an ActiveTheme object.
ComponentPluginManager::alterDefinition in core/modules/sdc/src/ComponentPluginManager.php
Alters the plugin definition with computed properties.
ComponentPluginManager::alterDefinition in core/lib/Drupal/Core/Theme/ComponentPluginManager.php
Alters the plugin definition with computed properties.
core.services.yml in core/core.services.yml
core/core.services.yml
default.services.yml in sites/default/default.services.yml
sites/default/default.services.yml
default.services.yml in core/assets/scaffold/files/default.services.yml
core/assets/scaffold/files/default.services.yml
ExtensionDiscoveryTest::testExtensionDiscoveryVfs in core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php
Tests extension discovery in a virtual filesystem with vfsStream.
ExtensionPathResolverTest::testExtensionPathResolving in core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php
@covers ::getPathname
FilterKernelTest::testLineBreakFilterTwigDebug in core/modules/filter/tests/src/Kernel/FilterKernelTest.php
Tests that the line break filter does not apply to twig debug.
FrontMatterTest::createTwigTemplate in core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php
Creates a new temporary Twig file.
FrontMatterTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php
HelpTopicTwig::create in core/modules/help/src/HelpTopicTwig.php
Creates an instance of the plugin.
hook_render_template in core/lib/Drupal/Core/Render/theme.api.php
Render a template using the theme engine.
HtaccessTest::getProtectedFiles in core/modules/system/tests/src/Functional/System/HtaccessTest.php
Get an array of file paths for access testing.
InlineTemplate::preRenderInlineTemplate in core/lib/Drupal/Core/Render/Element/InlineTemplate.php
Renders a twig string directly.
RegistryTest::testGetRegistryForModule in core/tests/Drupal/Tests/Core/Theme/RegistryTest.php
Tests getting the theme registry defined by a module.
RegistryTest::testPostProcessExtension in core/tests/Drupal/Tests/Core/Theme/RegistryTest.php
@covers ::postProcessExtension @covers ::completeSuggestion @covers ::mergePreprocessFunctions
ThemeEngineExtensionListTest::testGetList in core/tests/Drupal/KernelTests/Core/Extension/ThemeEngineExtensionListTest.php
@covers ::getList
ThemeExtensionListTest::testRebuildThemeDataWithThemeParents in core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php
Tests rebuild the theme data with theme parents.
ThemeTest::testListThemes in core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
Tests the listInfo() function.
twig.info.yml in core/themes/engines/twig/twig.info.yml
core/themes/engines/twig/twig.info.yml
TwigEnvironmentTest::testCacheFilename in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Ensures that cacheFilename() varies by extensions + deployment identifier.
TwigEnvironmentTest::testInlineTemplate in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Tests inline templates.
TwigEnvironmentTest::testTemplateClassname in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Ensures that templates resolve to the same class name and cache file.
TwigEnvironmentTest::testTemplateInvalidation in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Tests template invalidation.
TwigEnvironmentTest::testTemplateNotFoundException in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Tests that exceptions are thrown when a template is not found.
TwigEnvironmentTest::testTwigFilePrefixChange in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Test twig file prefix change.
TwigExtensionTest::testRenderStrategies in core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php
Test if Drupal html strategy is done and the fallback to Twig itself works.
TwigExtensionTest::testsRenderEscapedZeroValue in core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php
Tests output of integer and double 0 values of TwigExtension::escapeFilter().
TwigExtensionTest::testTwigExtensionLoaded in core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php
Tests that the provided Twig extension loads the service appropriately.
TwigIncludeTest::testTemplateInclusion in core/modules/system/tests/src/Kernel/Theme/TwigIncludeTest.php
Tests template inclusion extension checking.
TwigLoaderTest::testTwigLoaderAddition in core/modules/system/tests/src/Kernel/Theme/TwigLoaderTest.php
Tests adding an additional twig loader to the loader chain.
TwigNamespaceTest::setUp in core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php
TwigPhpStorageCache::storage in core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
Gets the PHP code storage object to use for the compiled Twig files.
TwigRegistryLoaderTest::setUp in core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php
TwigSettingsTest::testTwigCacheOverride in core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php
Ensures Twig template cache setting can be overridden.
TwigWhiteListTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php
TwigWhiteListTest::testWhiteListChaining in core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php
Tests white-listing of methods doesn't interfere with chaining.
twig_render_template in core/themes/engines/twig/twig.engine
Implements hook_render_template().
xd2.php in core/lib/Drupal/Component/Transliteration/data/xd2.php

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