| TwigLoaderTest |
class |
core/modules/system/tests/src/Kernel/Theme/TwigLoaderTest.php |
Tests adding Twig loaders. |
| TwigLoaderTest.php |
file |
core/modules/system/tests/src/Kernel/Theme/TwigLoaderTest.php |
|
| TwigLoaderTest::$modules |
property |
core/modules/system/tests/src/Kernel/Theme/TwigLoaderTest.php |
Modules to install. |
| TwigLoaderTest::testTwigLoaderAddition |
function |
core/modules/system/tests/src/Kernel/Theme/TwigLoaderTest.php |
Tests adding an additional twig loader to the loader chain. |
| TwigMarkupInterfaceTest |
class |
core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php |
Tests Twig with MarkupInterface objects. |
| TwigMarkupInterfaceTest.php |
file |
core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php |
|
| TwigMarkupInterfaceTest::providerTestMarkupInterfaceEmpty |
function |
core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php |
Provide test examples. |
| TwigMarkupInterfaceTest::renderObjectWithTwig |
function |
core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php |
Renders a variable using a Twig inline template. |
| TwigMarkupInterfaceTest::testEmptyTranslation |
function |
core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php |
Tests behavior if a string is translated to become an empty string. |
| TwigMarkupInterfaceTest::testMarkupInterfaceEmpty |
function |
core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php |
Tests markup interface empty. |
| TwigNamespaceTest |
class |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
Tests Twig namespaces. |
| TwigNamespaceTest.php |
file |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
|
| TwigNamespaceTest::$modules |
property |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
Modules to install. |
| TwigNamespaceTest::$twig |
property |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
|
| TwigNamespaceTest::assertTwigTemplate |
function |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
Checks to see if a value is a twig template. |
| TwigNamespaceTest::setUp |
function |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
|
| TwigNamespaceTest::testTemplateDiscovery |
function |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
Tests template discovery using namespaces. |
| TwigNamespaceTest::testTwigNamespaces |
function |
core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php |
Tests template extension and includes using namespaces. |
| TwigRawTest |
class |
core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php |
Tests Twig 'raw' filter. |
| TwigRawTest.php |
file |
core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php |
|
| TwigRawTest::$modules |
property |
core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php |
Modules to install. |
| TwigRawTest::testAutoescape |
function |
core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php |
Tests autoescaping of unsafe content. |
| TwigRawTest::testAutoescapeRaw |
function |
core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php |
Tests the raw filter inside an autoescape tag. |
| TwigRegistryLoaderTest |
class |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
Tests Twig registry loader. |
| TwigRegistryLoaderTest.php |
file |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
|
| TwigRegistryLoaderTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
The theme to install as the default for testing. |
| TwigRegistryLoaderTest::$modules |
property |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
Modules to install. |
| TwigRegistryLoaderTest::$twig |
property |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
|
| TwigRegistryLoaderTest::assertTwigTemplate |
function |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
Checks to see if a value is a Twig template. |
| TwigRegistryLoaderTest::setUp |
function |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
|
| TwigRegistryLoaderTest::testTemplateDiscovery |
function |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
Tests template discovery using the Drupal theme registry. |
| TwigRegistryLoaderTest::testTwigNamespaces |
function |
core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php |
Tests template extension and includes using the Drupal theme registry. |
| TwigSandboxTest |
class |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests the twig sandbox policy. |
| TwigSandboxTest.php |
file |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
|
| TwigSandboxTest::$twig |
property |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
The Twig environment loaded with the sandbox extension. |
| TwigSandboxTest::getTwigEntityDangerousMethods |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Data provider for ::testEntityDangerousMethods. |
| TwigSandboxTest::setUp |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
|
| TwigSandboxTest::testEntityDangerousMethods |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests that dangerous methods cannot be called in entity objects. |
| TwigSandboxTest::testEntitySafeMethods |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests that valid methods can be called from within Twig templates. |
| TwigSandboxTest::testEntitySafePrefixes |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests that prefixed methods can be called from within Twig templates. |
| TwigSandboxTest::testExtendedClass |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests that white listed classes can be extended. |
| TwigSandboxTest::testTwigMethodAttributeAllowed |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests that method with TwigAllowed attribute is allowed. |
| TwigSandboxTest::testTwigMethodAttributeNotAllowed |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests that method without TwigAllowed attribute is not allowed. |
| TwigSandboxTest::testUrlSafeMethods |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Tests that safe methods inside Url objects can be called. |
| TwigSettingsTest |
class |
core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php |
Tests overriding Twig engine settings via settings.php. |
| TwigSettingsTest.php |
file |
core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php |
|
| TwigSettingsTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php |
The theme to install as the default for testing. |
| TwigSettingsTest::$modules |
property |
core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php |
Modules to install. |
| TwigSettingsTest::testTwigAutoReloadOverride |
function |
core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php |
Ensures Twig template auto reload setting can be overridden. |
| TwigSettingsTest::testTwigCacheOverride |
function |
core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php |
Ensures Twig template cache setting can be overridden. |