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
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.
TwigRegistryLoaderTest::setUp function core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php
TwigRegistryLoaderTest::testTemplateDiscovery function core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php Tests template discovery using the Drupal theme registry.
TwigRegistryLoaderTest::testTwigNamespaces function core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php Tests template extension and includes using the Drupal theme registry.
TwigSandboxPolicy class core/lib/Drupal/Core/Template/TwigSandboxPolicy.php Default sandbox policy for Twig templates.
TwigSandboxPolicy.php file core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
TwigSandboxPolicy::$whitelisted_classes property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php An array of class names for which any method calls are allowed.
TwigSandboxPolicy::$whitelisted_methods property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php An array of whitelisted methods in the form of methodName => TRUE.
TwigSandboxPolicy::$whitelisted_prefixes property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php An array of whitelisted method prefixes -- any method starting with one of
these prefixes will be allowed.
TwigSandboxPolicy::checkMethodAllowed function core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
TwigSandboxPolicy::checkPropertyAllowed function core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
TwigSandboxPolicy::checkSecurity function core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
TwigSandboxPolicy::__construct function core/lib/Drupal/Core/Template/TwigSandboxPolicy.php Constructs a new TwigSandboxPolicy object.
TwigSandboxTest class core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests the twig sandbox policy.
TwigSandboxTest.php file core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Contains \Drupal\Tests\Core\Template\TwigSandboxTest.
TwigSandboxTest::$twig property core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php The Twig environment loaded with the sandbox extension.
TwigSandboxTest::getTwigEntityDangerousMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Data provider for ::testEntityDangerousMethods.
TwigSandboxTest::setUp function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php
TwigSandboxTest::testEntityDangerousMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that dangerous methods cannot be called in entity objects.
TwigSandboxTest::testEntitySafeMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that valid methods can be called from within Twig templates.
TwigSandboxTest::testEntitySafePrefixes function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that prefixed methods can be called from within Twig templates.
TwigSandboxTest::testExtendedClass function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that white listed classes can be extended.
TwigSandboxTest::testUrlSafeMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that safe methods inside Url objects can be called.
TwigSettingsTest class core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php Tests overriding Twig engine settings via settings.php.
TwigSettingsTest.php file core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php
TwigSettingsTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php The theme to install as the default for testing.
TwigSettingsTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php Modules to enable.
TwigSettingsTest::testTwigAutoReloadOverride function core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php Ensures Twig template auto reload setting can be overridden.
TwigSettingsTest::testTwigCacheOverride function core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php Ensures Twig template cache setting can be overridden.
TwigSettingsTest::testTwigDebugOverride function core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php Ensures Twig engine debug setting can be overridden.
TwigSettingsTest::testTwigInlineWithAutoReload function core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php Tests twig inline templates with auto_reload.
TwigThemeTestController class core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Controller routines for Twig theme test routes.
TwigThemeTestController.php file core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
TwigThemeTestController::attachLibraryRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing attach_library functions in a Twig template.
TwigThemeTestController::embedTagRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing the embed tag in a Twig template.
TwigThemeTestController::fileUrlRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing file_url functions in a Twig template.
TwigThemeTestController::linkGeneratorRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing link_generator functions in a Twig template.
TwigThemeTestController::phpVariablesRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Menu callback for testing PHP variables in a Twig template.
TwigThemeTestController::placeholderOutsideTransRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Controller for testing the twig placeholder filter outside of {% trans %}
TwigThemeTestController::registryLoaderRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Menu callback for testing the Twig registry loader.
TwigThemeTestController::renderable function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Controller for testing a renderable inside a template.

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