Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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/ |
Test empty Twig "trans" tags. |
| TwigTransTest::testTwigTransTags | function | core/ |
Test 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 |
| twig_extension_test.twig.test_extension | service | core/ |
Drupal\twig_extension_test\TwigExtension\TestExtension |
| twig_extension_test_theme | function | core/ |
Implements hook_theme(). |
| 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/ckeditor') }} |
| twig_theme_test.embed_tag.html.twig | file | core/ |
{% embed "@twig_theme_test/twig-theme-test-embed-tag-embedded.html.twig" %} {% endembed %} |
| twig_theme_test.file_url.html.twig | file | core/ |
<div>file_url: {{ file_url('core/modules/system/tests/modules/twig_theme_test/twig_theme_test.js') }}</div> |
| twig_theme_test.filter.html.twig | file | core/ |
<div><strong>No author:</strong> {{ quote|without('author') }}.</div> <div><strong>Complete quote after without:</strong> {{ quote }}.</div> <div><strong>Only author:</strong>… |
| twig_theme_test.info.yml | file | core/ |
core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml |
| twig_theme_test.link_generator.html.twig | file | core/ |
<div>link via the linkgenerator: {{ link('register', test_url) }}</div> <div>link via the linkgenerator: {{ link('register', test_url, {'foo': 'bar'}) }}</div> <div>link via the… |
Pagination
- Previous page
- Page 1284
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.