Search for theme_

  1. Search 7.x for theme_
  2. Search 9.5.x for theme_
  3. Search 8.9.x for theme_
  4. Search 11.x for theme_
  5. Search main for theme_
  6. Other projects
Title Object type File name Summary
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.
twig_theme_test.attach_library.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig {{ attach_library('core/ckeditor5') }}
twig_theme_test.dump.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.dump.html.twig {% set foo = '💩' %}
{% set bar = '🐣' %}
{% set baz = '☄️' %}
{{ dump(foo) }}
{{ dump() }}
{{ dump(foo, baz) }}
twig_theme_test.embed_tag.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.embed_tag.html.twig {% embed "@twig_theme_test/twig-theme-test-embed-tag-embedded.html.twig" %}

{% endembed %}
twig_theme_test.file_url.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_url.html.twig <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>
twig_theme_test.filter.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig <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/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml
twig_theme_test.link_generator.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.link_generator.html.twig <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…
twig_theme_test.module file core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module Test module.
twig_theme_test.php_variables.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig {# Output for Twig Theme PHP variables test. #}
<ul>
{% for key, php_value in php_values %}
<li>{{ key }}: {{ php_value.value }}</li>
{% endfor %}
</ul>
twig_theme_test.placeholder_outside_trans.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.placeholder_outside_trans.html.twig Placeholder outside trans: {{ var | placeholder }}

{% trans %}
Placeholder inside trans: {{ var | placeholder }}
{% endtrans %}
twig_theme_test.renderable.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.renderable.html.twig <div>{{ renderable }}</div>
twig_theme_test.routing.yml file core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
twig_theme_test.trans.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.trans.html.twig {# Test trans tag with string argument. #}
<div>
{% trans 'Hello sun.' %}
</div>

{# Test trans tag with string argument and context #}
<div>
{% trans 'Hello sun.' with {'context':…
twig_theme_test.url_generator.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_generator.html.twig {# Test the url and path twig functions #}
<div>path (as route) not absolute: {{ path('user.register') }}</div>
<div>url (as route) absolute: {{ url('user.register') }}</div>

<div>path (as route) not…
twig_theme_test.url_to_string.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_to_string.html.twig <div>rendered url: {{ test_url }}</div>
twig_theme_test_preprocess_status_messages function core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module Implements template_preprocess_status_messages().
twig_theme_test_theme function core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module Implements hook_theme().
umami_theme_suggestions_block_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
update.admin.theme.css file core/themes/stable9/css/update/update.admin.theme.css Styles used by the Update Manager module.
update.admin.theme.css file core/modules/update/css/update.admin.theme.css Styles used by the Update Manager module.
UpdateContribTest::testUpdateBaseThemeSecurityUpdate function core/modules/update/tests/src/Functional/UpdateContribTest.php Tests that subthemes are notified about security updates for base themes.
UpdateContribTest::testUpdateShowDisabledThemes function core/modules/update/tests/src/Functional/UpdateContribTest.php Tests that uninstalled themes are only shown when desired.
UpdateLocalTasksTest::getUpdateThemeRoutes function core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php Provides a list of theme routes to test.
UpdateLocalTasksTest::testUpdateThemeLocalTasks function core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php Checks update theme tasks.
UpdateManager::$themeExtensionList property core/modules/update/src/UpdateManager.php The theme extension list.
UpdateManager::$themeHandler property core/modules/update/src/UpdateManager.php The theme handler.
UpdateReducedThemeRegistryTest class core/tests/Drupal/FunctionalTests/Update/UpdateReducedThemeRegistryTest.php Tests that update.php is accessible even if there are unstable modules.
UpdateReducedThemeRegistryTest.php file core/tests/Drupal/FunctionalTests/Update/UpdateReducedThemeRegistryTest.php
UpdateReducedThemeRegistryTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Update/UpdateReducedThemeRegistryTest.php
UpdateReducedThemeRegistryTest::$modules property core/tests/Drupal/FunctionalTests/Update/UpdateReducedThemeRegistryTest.php
UpdateReducedThemeRegistryTest::testUpdatePageWithBrokenThemeHook function core/tests/Drupal/FunctionalTests/Update/UpdateReducedThemeRegistryTest.php Tests that the update page can be accessed.
UpdateRegistry::includeThemes function core/lib/Drupal/Core/Update/UpdateRegistry.php
UpdateScriptTest::testThemeSystem function core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Tests the effect of using the update script on the theme system.
update_test_basetheme.info.yml file core/modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info.yml core/modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info.yml
update_test_broken_theme_hook.info.yml file core/modules/system/tests/modules/update_test_broken_theme_hook/update_test_broken_theme_hook.info.yml core/modules/system/tests/modules/update_test_broken_theme_hook/update_test_broken_theme_hook.info.yml
update_test_broken_theme_hook.module file core/modules/system/tests/modules/update_test_broken_theme_hook/update_test_broken_theme_hook.module Hook implementations for the update_test_broken_theme_hook module.
update_test_broken_theme_hook_theme function core/modules/system/tests/modules/update_test_broken_theme_hook/update_test_broken_theme_hook.module Implements hook_theme().
update_test_subtheme.info.yml file core/modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info.yml core/modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info.yml
update_themes_installed function core/modules/update/update.module Implements hook_themes_installed().
update_themes_uninstalled function core/modules/update/update.module Implements hook_themes_uninstalled().
user_test_theme.info.yml file core/modules/user/tests/themes/user_test_theme/user_test_theme.info.yml core/modules/user/tests/themes/user_test_theme/user_test_theme.info.yml
ViewEditForm::$themeManager property core/modules/views_ui/src/ViewEditForm.php The theme manager.
ViewExecutable::buildThemeFunctions function core/modules/views/src/ViewExecutable.php Provides a full array of possible theme functions to try for a given hook.
ViewExecutableTest::testBuildThemeFunctions function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::buildThemeFunctions[[api-linebreak]]
views.theme.inc file core/modules/views/views.theme.inc Preprocessors and helper functions to make theming easier.

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