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
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::$allowed_classes property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php An array of class names for which any method calls are allowed.
TwigSandboxPolicy::$allowed_methods property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php An array of allowed methods in the form of methodName => TRUE.
TwigSandboxPolicy::$allowed_prefixes property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php Allowed method prefixes.
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::getMethodsAllowedOnAllObjects function core/lib/Drupal/Core/Template/TwigSandboxPolicy.php Gets the list of allowed methods on all objects.
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
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::testTwigMethodAttributeAllowed function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that method with TwigAllowed attribute is allowed.
TwigSandboxTest::testTwigMethodAttributeNotAllowed function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that method without TwigAllowed attribute is not allowed.
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
TwigSettingsTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php
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.
TwigSimpleCheckToStringNode class core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php Defines a twig node for simplifying CheckToStringNode.
TwigSimpleCheckToStringNode.php file core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php
TwigSimpleCheckToStringNode::compile function core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php
TwigThemeEngine class core/lib/Drupal/Core/Template/TwigThemeEngine.php Twig theme engine.
TwigThemeEngine.php file core/lib/Drupal/Core/Template/TwigThemeEngine.php
TwigThemeEngine::EXTENSION constant core/lib/Drupal/Core/Template/TwigThemeEngine.php
TwigThemeEngine::renderTemplate function core/lib/Drupal/Core/Template/TwigThemeEngine.php
TwigThemeEngine::theme function core/lib/Drupal/Core/Template/TwigThemeEngine.php
TwigThemeEngine::__construct function core/lib/Drupal/Core/Template/TwigThemeEngine.php
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::dump function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing drupal_dump function.
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.

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