| TwigExtensionTest::testSafeStringEscaping |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Tests the escaping of objects implementing MarkupInterface. |
| TwigExtensionTest::testsRenderEscapedZeroValue |
function |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
Tests output of integer and double 0 values of TwigExtension::escapeFilter(). |
| TwigExtensionTest::testsRenderZeroValue |
function |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
Tests output of integer and double 0 values of TwigExtension->renderVar(). |
| TwigExtensionTest::testTwigExtensionFilter |
function |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
Tests that the Twig extension's filter produces expected output. |
| TwigExtensionTest::testTwigExtensionFunction |
function |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
Tests that the Twig extension's function produces expected output. |
| TwigExtensionTest::testTwigExtensionLoaded |
function |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
Tests that the provided Twig extension loads the service appropriately. |
| TwigExtensionTestController |
class |
core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php |
Controller routines for Twig extension test routes. |
| TwigExtensionTestController.php |
file |
core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php |
|
| TwigExtensionTestController::testFilterRender |
function |
core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php |
Menu callback for testing Twig filters in a Twig template. |
| TwigExtensionTestController::testFunctionRender |
function |
core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php |
Menu callback for testing Twig functions in a Twig template. |
| TwigExtensionTestString |
class |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
|
| TwigExtensionTestString::$string |
property |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
|
| TwigExtensionTestString::__construct |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
|
| TwigExtensionTestString::__toString |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
|
| TwigFilterTest |
class |
core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php |
Tests Drupal's Twig filters. |
| TwigFilterTest.php |
file |
core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php |
|
| TwigFilterTest::$modules |
property |
core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php |
Modules to enable. |
| TwigFilterTest::testLegacyTwigWithoutFunction |
function |
core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php |
Test "twig_without" filter function. |
| TwigFilterTest::testTwigWithoutFilter |
function |
core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php |
Test Twig "without" filter. |
| TwigLoaderTest |
class |
core/modules/system/tests/src/Functional/Theme/TwigLoaderTest.php |
Tests adding Twig loaders. |
| TwigLoaderTest.php |
file |
core/modules/system/tests/src/Functional/Theme/TwigLoaderTest.php |
|
| TwigLoaderTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Theme/TwigLoaderTest.php |
The theme to install as the default for testing. |
| TwigLoaderTest::$modules |
property |
core/modules/system/tests/src/Functional/Theme/TwigLoaderTest.php |
Modules to enable. |
| TwigLoaderTest::testTwigLoaderAddition |
function |
core/modules/system/tests/src/Functional/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 |
Contains \Drupal\KernelTests\Core\Theme\TwigMarkupInterfaceTest. |
| TwigMarkupInterfaceTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php |
Modules to enable. |
| 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 |
|
| 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 |
@dataProvider providerTestMarkupInterfaceEmpty |
| 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 enable. |
| 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 enable. |
| 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 enable. |
| 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. |