Search for %s

  1. Search 7.x for %s
  2. Search 8.9.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
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::__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::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.
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.
TwigThemeTestController::transBlockRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Menu callback for testing translation blocks in a Twig template.
TwigThemeTestController::urlGeneratorRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing url_generator functions in a Twig template.
TwigThemeTestController::urlToStringRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders a URL to a string.
TwigTransTest class core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Tests Twig "trans" tags.
TwigTransTest.php file core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
TwigTransTest::$adminUser property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php An administrative user for testing.
TwigTransTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php The theme to install as the default for testing.
TwigTransTest::$languages property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Custom languages.
TwigTransTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Modules to enable.
TwigTransTest::assertTwigTransTags function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Asserts Twig trans tags.
TwigTransTest::installLanguages function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Helper function: install languages.
TwigTransTest::poFileContents function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Generate a custom .po file for a specific test language.
TwigTransTest::setUp function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
TwigTransTest::testEmptyTwigTransTags function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Tests empty Twig "trans" tags.
TwigTransTest::testTwigTransTags function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Tests Twig "trans" tags.
TwigTransTokenParser class core/lib/Drupal/Core/Template/TwigTransTokenParser.php A class that defines the Twig 'trans' token parser for Drupal.

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