Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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.
TwigTransTokenParser.php file core/lib/Drupal/Core/Template/TwigTransTokenParser.php
TwigTransTokenParser::checkTransString function core/lib/Drupal/Core/Template/TwigTransTokenParser.php Ensure that any nodes that are parsed are only of allowed types.
TwigTransTokenParser::decideForEnd function core/lib/Drupal/Core/Template/TwigTransTokenParser.php Detect the end of a 'trans' tag.
TwigTransTokenParser::decideForFork function core/lib/Drupal/Core/Template/TwigTransTokenParser.php Detect a 'plural' switch or the end of a 'trans' tag.
TwigTransTokenParser::getTag function core/lib/Drupal/Core/Template/TwigTransTokenParser.php
TwigTransTokenParser::parse function core/lib/Drupal/Core/Template/TwigTransTokenParser.php
TwigWhiteListTest class core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php Tests white-listing of entity properties.
TwigWhiteListTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php
TwigWhiteListTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php Modules to enable.
TwigWhiteListTest::$term property core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php Term for referencing.
TwigWhiteListTest::$twig property core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php Twig environment.
TwigWhiteListTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php
TwigWhiteListTest::testWhiteListChaining function core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php Tests white-listing of methods doesn't interfere with chaining.
twig_extension function core/themes/engines/twig/twig.engine Implements hook_extension().
twig_extension_test.filter.html.twig file core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.filter.html.twig <div class="testfilter">
{{ message|testfilter }}
</div>
<div>
{{ safe_join_items|safe_join('<br/>') }}
</div>
twig_extension_test.function.html.twig file core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig <div class="testfunction">
{{ testfunc(1) }}
</div>

<div class="testfunction">
{{ testfunc(0) }}
</div>
twig_extension_test.info.yml file core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml
twig_extension_test.module file core/modules/system/tests/modules/twig_extension_test/twig_extension_test.module Helper module for Twig extension tests.
twig_extension_test.routing.yml file core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml
twig_extension_test.services.yml file core/modules/system/tests/modules/twig_extension_test/twig_extension_test.services.yml core/modules/system/tests/modules/twig_extension_test/twig_extension_test.services.yml

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