Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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. |
| TwigThemeTestHooks | class | core/ |
Hook implementations for twig_theme_test. |
| TwigThemeTestHooks.php | file | core/ |
|
| TwigThemeTestHooks::preprocessStatusMessages | function | core/ |
Implements hook_preprocess_HOOK(). |
| TwigThemeTestHooks::theme | function | core/ |
Implements hook_theme(). |
| TwigThemeTestUtils | class | core/ |
Helper functions used by both test modules and test classes. |
| TwigThemeTestUtils.php | file | core/ |
|
| TwigThemeTestUtils::phpValues | function | core/ |
Helper function to test PHP variables in the Twig engine. |
| 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 install. |
| 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::testTransRenderArray | function | core/ |
Testing trans with render array value. |
| 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/ |
|
| Twig\Extra\Html\HtmlExtension | service | core/ |
|
| twig_extension | function | core/ |
Implements hook_extension(). |
| twig_extension_test.filter.html.twig | file | core/ |
<div class="test-filter"> {{ message|test_filter}} </div> <div> {{ safe_join_items|safe_join('<br/>') }} </div> |
| twig_extension_test.function.html.twig | file | core/ |
<div class="test-function"> {{ custom_function(1) }} </div> <div class="test-function"> {{ custom_function(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.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 |
| twig_extension_test.twig.test_extension | service | core/ |
Drupal\twig_extension_test\TwigExtension\TestExtension |
| twig_fibers_test.info.yml | file | core/ |
core/modules/system/tests/modules/twig_fibers_test/twig_fibers_test.info.yml |
| twig_fibers_test.services.yml | file | core/ |
core/modules/system/tests/modules/twig_fibers_test/twig_fibers_test.services.yml |
| twig_fibers_test.twig_extension | service | core/ |
Drupal\twig_fibers_test\TwigExtension\FibersTestExtension |
| twig_loader_test.info.yml | file | core/ |
core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml |
| twig_loader_test.services.yml | file | core/ |
core/modules/system/tests/modules/twig_loader_test/twig_loader_test.services.yml |
| twig_loader_test.twig.test_loader | service | core/ |
Drupal\twig_loader_test\Loader\TestLoader |
| twig_namespace_a.info.yml | file | core/ |
core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml |
| twig_namespace_b.info.yml | file | core/ |
core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml |
| twig_namespace_test.html.twig | file | core/ |
{% extends "@twig_namespace_a/test.html.twig" %} {% block content %} {% include "@twig_namespace_b/test.html.twig" %} {% endblock %} |
| twig_theme_test.attach_library.html.twig | file | core/ |
{{ attach_library('core/ckeditor5') }} |
| twig_theme_test.dump.html.twig | file | core/ |
{% set foo = '💩' %} {% set bar = '🐣' %} {% set baz = '☄️' %} {{ dump(foo) }} {{ dump() }} {{ dump(foo, baz) }} |
Pagination
- Previous page
- Page 1472
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.