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 10.3.x for theme
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Theme class core/lib/Drupal/Core/Updater/Theme.php Defines a class for updating themes.
Theme class core/lib/Drupal/Core/Extension/Theme.php The Theme extension object.

All search results

Title Object type File name Summary
TwigThemeTestHooks class core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Hook implementations for twig_theme_test.
TwigThemeTestHooks.php file core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php
TwigThemeTestHooks::preprocessStatusMessages function core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Implements hook_preprocess_HOOK().
TwigThemeTestHooks::theme function core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Implements hook_theme().
TwigThemeTestUtils class core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestUtils.php Helper functions used by both test modules and test classes.
TwigThemeTestUtils.php file core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestUtils.php
TwigThemeTestUtils::phpValues function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestUtils.php Helper function to test PHP variables in the Twig engine.
TwigTransTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigTransTest.php The theme to install as the default for testing.
twig_theme function core/themes/engines/twig/twig.engine Implements hook_theme().
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/js/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 link generator: {{ link('register', test_url) }}</div>
<div>link via the link generator: {{ link('register', test_url, {'foo': 'bar'}) }}</div>
<div>link via the…
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>
umami.theme file core/profiles/demo_umami/themes/umami/umami.theme Functions to support theming in the Umami theme.
UmamiHooks::themeSuggestionsBlockAlter function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_theme_suggestions_HOOK_alter() for block templates.
umami_theme_suggestions_block_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
UncaughtExceptionTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php The theme to install as the default for testing.
UninstallTest::$defaultTheme property core/modules/system/tests/src/Functional/Module/UninstallTest.php The theme to install as the default for testing.
UnpublishedBlockTest::$defaultTheme property core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php The theme to install as the default for testing.
UnsavedPreviewTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php The theme to install as the default for testing.
UnversionedAssetTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Asset/UnversionedAssetTest.php The theme to install as the default for testing.
UpcastingTest::$defaultTheme property core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php The theme to install as the default for testing.
update.admin.theme.css file core/modules/update/css/update.admin.theme.css Styles used by the Update Status module.
update.admin.theme.css file core/themes/stable9/css/update/update.admin.theme.css Styles used by the Update Status module.
UpdateCacheTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php The theme to install as the default for testing.
UpdateContribTest::$defaultTheme property core/modules/update/tests/src/Functional/UpdateContribTest.php The theme to install as the default for testing.
UpdateContribTest::testUpdateBaseThemeSecurityUpdate function core/modules/update/tests/src/Functional/UpdateContribTest.php Tests that subthemes are notified about security updates for base themes.
UpdateContribTest::testUpdateHiddenBaseTheme function core/modules/update/tests/src/Functional/UpdateContribTest.php Tests updates with a hidden base theme.
UpdateContribTest::testUpdateShowDisabledThemes function core/modules/update/tests/src/Functional/UpdateContribTest.php Tests that uninstalled themes are only shown when desired.
UpdateHooks::themesInstalled function core/modules/update/src/Hook/UpdateHooks.php Implements hook_themes_installed().
UpdateHooks::themesUninstalled function core/modules/update/src/Hook/UpdateHooks.php Implements hook_themes_uninstalled().
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.
UpdateManagerTest::$defaultTheme property core/modules/update/tests/src/Functional/UpdateManagerTest.php The theme to install as the default for testing.
UpdateMiscTest::$defaultTheme property core/modules/update/tests/src/Functional/UpdateMiscTest.php The theme to install as the default for testing.
UpdatePathLastRemovedTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathLastRemovedTest.php The theme to install as the default for testing.
UpdatePathNewDependencyTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php The theme to install as the default for testing.
UpdatePathTestBaseFilledTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php The theme to install as the default for testing.
UpdatePathTestJavaScriptTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php The theme to install as the default for testing.
UpdatePathWithBrokenRoutingTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php The theme to install as the default for testing.

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