Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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.
TwigNodeTrans class core/lib/Drupal/Core/Template/TwigNodeTrans.php A class that defines the Twig 'trans' tag for Drupal.
TwigNodeTrans.php file core/lib/Drupal/Core/Template/TwigNodeTrans.php
TwigNodeTrans::compile function core/lib/Drupal/Core/Template/TwigNodeTrans.php
TwigNodeTrans::compileString function core/lib/Drupal/Core/Template/TwigNodeTrans.php Extracts the text and tokens for the "trans" tag.
TwigNodeTrans::__construct function core/lib/Drupal/Core/Template/TwigNodeTrans.php
TwigNodeVisitor class core/lib/Drupal/Core/Template/TwigNodeVisitor.php Provides a Twig_NodeVisitor to change the generated parse-tree.
TwigNodeVisitor.php file core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigNodeVisitor::doEnterNode function core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigNodeVisitor::doLeaveNode function core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigNodeVisitor::getPriority function core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigPhpStorageCache class core/lib/Drupal/Core/Template/TwigPhpStorageCache.php Provides an alternate cache storage for Twig using PhpStorage.
TwigPhpStorageCache.php file core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
TwigPhpStorageCache::$cache property core/lib/Drupal/Core/Template/TwigPhpStorageCache.php The cache object used for auto-refresh via mtime.
TwigPhpStorageCache::$storage property core/lib/Drupal/Core/Template/TwigPhpStorageCache.php The PhpStorage object used for storing the templates.
TwigPhpStorageCache::$templateCacheFilenamePrefix property core/lib/Drupal/Core/Template/TwigPhpStorageCache.php The template cache filename prefix.
TwigPhpStorageCache::generateKey function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
TwigPhpStorageCache::getTimestamp function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
TwigPhpStorageCache::load function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
TwigPhpStorageCache::storage function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php Gets the PHP code storage object to use for the compiled Twig files.
TwigPhpStorageCache::SUFFIX_SUBSTRING_LENGTH constant core/lib/Drupal/Core/Template/TwigPhpStorageCache.php The maximum length for each part of the cache key suffix.
TwigPhpStorageCache::write function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
TwigPhpStorageCache::__construct function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php Store cache backend and other information internally.
TwigRawTest class core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php Tests Twig 'raw' filter.

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