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
TwigNamespaceTest::$modules property core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php
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.
TwigNodeCheckDeprecations class core/lib/Drupal/Core/Template/TwigNodeCheckDeprecations.php A node that checks deprecated variable usage.
TwigNodeCheckDeprecations.php file core/lib/Drupal/Core/Template/TwigNodeCheckDeprecations.php
TwigNodeCheckDeprecations::$usedNames property core/lib/Drupal/Core/Template/TwigNodeCheckDeprecations.php The named variables used in the template.
TwigNodeCheckDeprecations::compile function core/lib/Drupal/Core/Template/TwigNodeCheckDeprecations.php
TwigNodeCheckDeprecations::__construct function core/lib/Drupal/Core/Template/TwigNodeCheckDeprecations.php
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 TwigNodeVisitor to change the generated parse-tree.
TwigNodeVisitor.php file core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigNodeVisitor::$skipRenderVarFunction property core/lib/Drupal/Core/Template/TwigNodeVisitor.php Tracks whether there is a render array aware filter active already.
TwigNodeVisitor::enterNode function core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigNodeVisitor::getPriority function core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigNodeVisitor::leaveNode function core/lib/Drupal/Core/Template/TwigNodeVisitor.php
TwigNodeVisitorCheckDeprecations class core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php Provides a Node Visitor to trigger errors if deprecated variables are used.
TwigNodeVisitorCheckDeprecations.php file core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php
TwigNodeVisitorCheckDeprecations::$assignedNames property core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php The named variables set within the template.
TwigNodeVisitorCheckDeprecations::$usedNames property core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php The named variables used in the template from the context.
TwigNodeVisitorCheckDeprecations::enterNode function core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php
TwigNodeVisitorCheckDeprecations::getPriority function core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php
TwigNodeVisitorCheckDeprecations::leaveNode function core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.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.
TwigRawTest.php file core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php
TwigRawTest::$modules property core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php
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
TwigRegistryLoaderTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php

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