Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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::$whitelisted_classes | property | core/ |
An array of class names for which any method calls are allowed. |
| TwigSandboxPolicy::$whitelisted_methods | property | core/ |
An array of whitelisted methods in the form of methodName => TRUE. |
| TwigSandboxPolicy::$whitelisted_prefixes | property | core/ |
An array of whitelisted method prefixes -- any method starting with one of these prefixes will be allowed. |
| 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. |
| TwigSettingsTest::testTwigCacheOverride | function | core/ |
Ensures Twig template cache setting can be overridden. |
| TwigSettingsTest::testTwigDebugOverride | function | core/ |
Ensures Twig engine debug setting can be overridden. |
| TwigSettingsTest::testTwigInlineWithAutoReload | function | core/ |
Tests twig inline templates with auto_reload. |
| TwigThemeTestController | class | core/ |
Controller routines for Twig theme test routes. |
| TwigThemeTestController.php | file | core/ |
|
| TwigThemeTestController::attachLibraryRender | function | core/ |
Renders for testing attach_library functions in a Twig template. |
| TwigThemeTestController::embedTagRender | function | core/ |
Renders for testing the embed tag in a Twig template. |
| TwigThemeTestController::fileUrlRender | function | core/ |
Renders for testing file_url functions in a Twig template. |
| TwigThemeTestController::linkGeneratorRender | function | core/ |
Renders for testing link_generator functions in a Twig template. |
| TwigThemeTestController::phpVariablesRender | function | core/ |
Menu callback for testing PHP variables in a Twig template. |
| TwigThemeTestController::placeholderOutsideTransRender | function | core/ |
Controller for testing the twig placeholder filter outside of {% trans %} |
| TwigThemeTestController::registryLoaderRender | function | core/ |
Menu callback for testing the Twig registry loader. |
| TwigThemeTestController::renderable | function | core/ |
Controller for testing a renderable inside a template. |
Pagination
- Previous page
- Page 1283
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.