Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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 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::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 install. |
| 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="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.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/ckeditor5') }} |
| twig_theme_test.dump.html.twig | file | core/ |
{% set foo = '💩' %} {% set bar = '🐣' %} {% set baz = '☄️' %} {{ dump(foo) }} {{ dump() }} {{ dump(foo, baz) }} |
| 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> <div>file_url: {{ file_url(undefined_variable) }}</div> |
Pagination
- Previous page
- Page 1351
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.