Search for all
- Search 7.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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::dump | function | core/ |
Renders for testing drupal_dump function. |
| 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. |
| TwigThemeTestController::transBlockRender | function | core/ |
Menu callback for testing translation blocks in a Twig template. |
| TwigThemeTestController::urlGeneratorRender | function | core/ |
Renders for testing url_generator functions in a Twig template. |
| TwigThemeTestController::urlToStringRender | function | core/ |
Renders a URL to a string. |
| TwigTransTest | class | core/ |
Tests Twig "trans" tags. |
| TwigTransTest.php | file | core/ |
|
| TwigTransTest::$adminUser | property | core/ |
An administrative user for testing. |
| TwigTransTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TwigTransTest::$languages | property | core/ |
Custom languages. |
| TwigTransTest::$modules | property | core/ |
Modules to enable. |
| TwigTransTest::assertTwigTransTags | function | core/ |
Asserts Twig trans tags. |
| TwigTransTest::installLanguages | function | core/ |
Helper function: install languages. |
| TwigTransTest::poFileContents | function | core/ |
Generate a custom .po file for a specific test language. |
| TwigTransTest::setUp | function | core/ |
|
| TwigTransTest::testEmptyTwigTransTags | function | core/ |
Tests empty Twig "trans" tags. |
| TwigTransTest::testTwigTransTags | function | core/ |
Tests Twig "trans" tags. |
| TwigTransTokenParser | class | core/ |
A class that defines the Twig 'trans' token parser for Drupal. |
| TwigTransTokenParser.php | file | core/ |
|
| TwigTransTokenParser::checkTransString | function | core/ |
Ensure that any nodes that are parsed are only of allowed types. |
| TwigTransTokenParser::decideForEnd | function | core/ |
Detect the end of a 'trans' tag. |
| TwigTransTokenParser::decideForFork | function | core/ |
Detect a 'plural' switch or the end of a 'trans' tag. |
| TwigTransTokenParser::getTag | function | core/ |
|
| TwigTransTokenParser::parse | function | core/ |
|
| TwigWhiteListTest | class | core/ |
Tests white-listing of entity properties. |
| TwigWhiteListTest.php | file | core/ |
|
| TwigWhiteListTest::$modules | property | core/ |
Modules to enable. |
| TwigWhiteListTest::$term | property | core/ |
Term for referencing. |
| TwigWhiteListTest::$twig | property | core/ |
Twig environment. |
| TwigWhiteListTest::setUp | function | core/ |
|
| TwigWhiteListTest::testWhiteListChaining | function | core/ |
Tests white-listing of methods doesn't interfere with chaining. |
| twig_extension | function | core/ |
Implements hook_extension(). |
| twig_extension_test.filter.html.twig | file | core/ |
<div class="testfilter"> {{ message|testfilter }} </div> <div> {{ safe_join_items|safe_join('<br/>') }} </div> |
| twig_extension_test.function.html.twig | file | core/ |
<div class="testfunction"> {{ testfunc(1) }} </div> <div class="testfunction"> {{ testfunc(0) }} </div> |
| twig_extension_test.info.yml | file | core/ |
core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml |
| twig_extension_test.module | file | core/ |
Helper module for Twig extension tests. |
| twig_extension_test.routing.yml | file | core/ |
core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml |
| twig_extension_test.services.yml | file | core/ |
core/modules/system/tests/modules/twig_extension_test/twig_extension_test.services.yml |
Pagination
- Previous page
- Page 1534
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.