Search for all
- Search 7.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| TwigPhpStorageCache | class | core/ |
Provides an alternate cache storage for Twig using PhpStorage. |
| TwigPhpStorageCache.php | file | core/ |
|
| TwigPhpStorageCache::$cache | property | core/ |
The cache object used for auto-refresh via mtime. |
| TwigPhpStorageCache::$storage | property | core/ |
The PhpStorage object used for storing the templates. |
| TwigPhpStorageCache::$templateCacheFilenamePrefix | property | core/ |
The template cache filename prefix. |
| TwigPhpStorageCache::generateKey | function | core/ |
|
| TwigPhpStorageCache::getTimestamp | function | core/ |
|
| TwigPhpStorageCache::load | function | core/ |
|
| TwigPhpStorageCache::storage | function | core/ |
Gets the PHP code storage object to use for the compiled Twig files. |
| TwigPhpStorageCache::SUFFIX_SUBSTRING_LENGTH | constant | core/ |
The maximum length for each part of the cache key suffix. |
| TwigPhpStorageCache::write | function | core/ |
|
| TwigPhpStorageCache::__construct | function | core/ |
Store cache backend and other information internally. |
| TwigRawTest | class | core/ |
Tests Twig 'raw' filter. |
| TwigRawTest.php | file | core/ |
|
| TwigRawTest::$modules | property | core/ |
Modules to enable. |
| TwigRawTest::testAutoescape | function | core/ |
Tests autoescaping of unsafe content. |
| TwigRawTest::testAutoescapeRaw | function | core/ |
Tests the raw filter inside an autoescape tag. |
| TwigRegistryLoaderTest | class | core/ |
Tests Twig registry loader. |
| TwigRegistryLoaderTest.php | file | core/ |
|
| TwigRegistryLoaderTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TwigRegistryLoaderTest::$modules | property | core/ |
Modules to enable. |
| TwigRegistryLoaderTest::$twig | property | core/ |
|
| TwigRegistryLoaderTest::assertTwigTemplate | function | core/ |
Checks to see if a value is a Twig template. |
| TwigRegistryLoaderTest::setUp | function | core/ |
|
| TwigRegistryLoaderTest::testTemplateDiscovery | function | core/ |
Tests template discovery using the Drupal theme registry. |
| TwigRegistryLoaderTest::testTwigNamespaces | function | core/ |
Tests template extension and includes using the Drupal theme registry. |
| TwigSandboxPolicy | class | core/ |
Default sandbox policy for Twig templates. |
| TwigSandboxPolicy.php | file | core/ |
|
| TwigSandboxPolicy::$allowed_classes | property | core/ |
An array of class names for which any method calls are allowed. |
| TwigSandboxPolicy::$allowed_methods | property | core/ |
An array of allowed methods in the form of methodName => TRUE. |
| TwigSandboxPolicy::$allowed_prefixes | property | core/ |
Allowed method prefixes. |
| TwigSandboxPolicy::checkMethodAllowed | function | core/ |
|
| TwigSandboxPolicy::checkPropertyAllowed | function | core/ |
|
| TwigSandboxPolicy::checkSecurity | function | core/ |
|
| TwigSandboxPolicy::__construct | function | core/ |
Constructs a new TwigSandboxPolicy object. |
| TwigSandboxTest | class | core/ |
Tests the twig sandbox policy. |
| TwigSandboxTest.php | file | core/ |
Contains \Drupal\Tests\Core\Template\TwigSandboxTest. |
| TwigSandboxTest::$twig | property | core/ |
The Twig environment loaded with the sandbox extension. |
| TwigSandboxTest::getTwigEntityDangerousMethods | function | core/ |
Data provider for ::testEntityDangerousMethods. |
| TwigSandboxTest::setUp | function | core/ |
|
| TwigSandboxTest::testEntityDangerousMethods | function | core/ |
Tests that dangerous methods cannot be called in entity objects. |
| TwigSandboxTest::testEntitySafeMethods | function | core/ |
Tests that valid methods can be called from within Twig templates. |
| TwigSandboxTest::testEntitySafePrefixes | function | core/ |
Tests that prefixed methods can be called from within Twig templates. |
| TwigSandboxTest::testExtendedClass | function | core/ |
Tests that white listed classes can be extended. |
| TwigSandboxTest::testUrlSafeMethods | function | core/ |
Tests that safe methods inside Url objects can be called. |
| TwigSettingsTest | class | core/ |
Tests overriding Twig engine settings via settings.php. |
| TwigSettingsTest.php | file | core/ |
|
| TwigSettingsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TwigSettingsTest::$modules | property | core/ |
Modules to enable. |
| TwigSettingsTest::testTwigAutoReloadOverride | function | core/ |
Ensures Twig template auto reload setting can be overridden. |
Pagination
- Previous page
- Page 1533
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.