Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. Search 11.x for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
theme-test-preprocess-callback.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-callback.html.twig {{ foo }}
theme-test-preprocess-suggestions--kitten--bearcat.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-preprocess-suggestions--kitten--bearcat.html.twig <div class="suggestion">{{ foo }}</div>
{% if bar %}
<div class="suggestion">{{ bar }}</div>
{% endif %}
theme-test-preprocess-suggestions--suggestion.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-preprocess-suggestions--suggestion.html.twig <div class="suggestion">{{ foo }}</div>
theme-test-preprocess-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-suggestions.html.twig <div class="suggestion">{{ foo }}</div>
{% if bar %}
<div class="suggestion">{{ bar }}</div>
{% endif %}
theme-test-registered-by-module.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-registered-by-module.html.twig {# Output for Theme API test #}
Template provided by theme is registered by module.
theme-test-render-element-children.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-render-element-children.html.twig {# Output for Theme API test #}
{{ element -}}
theme-test-render-element.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-render-element.html.twig <div{{ attributes }}></div>
theme-test-specific-suggestions--variant--foo.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant--foo.html.twig {# Output for Theme API test #}
Template overridden based on suggestion alter hook determined by the base hook.

<p>Theme hook suggestions:
{{ theme_hook_suggestions|safe_join("<br />") }}</p>
theme-test-specific-suggestions--variant.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant.html.twig {# Output for Theme API test #}
Template matching the specific theme call.

<p>Theme hook suggestions:
{{ theme_hook_suggestions|safe_join("<br />") }}</p>
theme-test-specific-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-specific-suggestions.html.twig {# Output for Theme API test #}
Template for testing specific theme calls.
theme-test-suggestion-provided--deprecated.html.twig file core/modules/system/tests/themes/test_deprecated_suggestion_theme/templates/theme-test-suggestion-provided--deprecated.html.twig {# Output for Theme API test #}
Template overridden based on a deprecated theme suggestion.
theme-test-suggestion-provided--foo.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-suggestion-provided--foo.html.twig {# Output for Theme API test #}
Template overridden based on suggestion provided by the module declaring the theme hook.
theme-test-suggestion-provided.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-suggestion-provided.html.twig {# Output for Theme API test #}
Template for testing suggestions provided by the module declaring the theme hook.
theme-test-suggestions--module-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-suggestions--module-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by a module via hook_theme_suggestions_HOOK_alter().
theme-test-suggestions--theme-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-suggestions--theme-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by the test_theme theme via hook_theme_suggestions_HOOK_alter().
theme-test-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-suggestions.html.twig {# Output for Theme API test #}
Original template for testing hook_theme_suggestions_HOOK_alter().
theme.negotiator.test_custom_theme service core/modules/system/tests/modules/theme_test/theme_test.services.yml Drupal\theme_test\Theme\CustomThemeNegotiator
theme.negotiator.test_theme service core/modules/system/tests/modules/menu_test/menu_test.services.yml Drupal\menu_test\Theme\TestThemeNegotiator
ThemeDeprecationTest class core/modules/system/tests/src/Kernel/Theme/ThemeDeprecationTest.php Tests theme deprecations.
ThemeDeprecationTest.php file core/modules/system/tests/src/Kernel/Theme/ThemeDeprecationTest.php
ThemeDeprecationTest::$modules property core/modules/system/tests/src/Kernel/Theme/ThemeDeprecationTest.php Modules to install.
ThemeDeprecationTest::testTemplatePreprocessIncludes function core/modules/system/tests/src/Kernel/Theme/ThemeDeprecationTest.php Tests deprecations around template_preprocess functions and include files.
ThemeEarlyInitializationTest class core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php Tests theme system initialization early in the page request.
ThemeEarlyInitializationTest.php file core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
ThemeEarlyInitializationTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
ThemeEarlyInitializationTest::$modules property core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
ThemeEarlyInitializationTest::testRequestListener function core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php Tests that the theme system can generate output in a request listener.
ThemeEngineExtensionListTest class core/tests/Drupal/KernelTests/Core/Extension/ThemeEngineExtensionListTest.php Tests Drupal\Core\Extension\ThemeEngineExtensionList.
ThemeEngineExtensionListTest.php file core/tests/Drupal/KernelTests/Core/Extension/ThemeEngineExtensionListTest.php
ThemeEngineExtensionListTest::testGetList function core/tests/Drupal/KernelTests/Core/Extension/ThemeEngineExtensionListTest.php Tests get list.
ThemeEngineTest class core/modules/system/tests/src/Kernel/Theme/ThemeEngineTest.php Tests theme engine functionality.
ThemeEngineTest.php file core/modules/system/tests/src/Kernel/Theme/ThemeEngineTest.php
ThemeEngineTest::setUp function core/modules/system/tests/src/Kernel/Theme/ThemeEngineTest.php
ThemeEngineTest::testThemeEngineDeprecation function core/modules/system/tests/src/Kernel/Theme/ThemeEngineTest.php Tests deprecated theme engine .engine files.
ThemeExtensionListTest class core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php Tests Drupal\Core\Extension\ThemeExtensionList.
ThemeExtensionListTest class core/tests/Drupal/KernelTests/Core/Extension/ThemeExtensionListTest.php Tests Drupal\Core\Extension\ThemeExtensionList.
ThemeExtensionListTest.php file core/tests/Drupal/KernelTests/Core/Extension/ThemeExtensionListTest.php
ThemeExtensionListTest.php file core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php
ThemeExtensionListTest::providerTestDoGetBaseThemes function core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php Provides test data for testDoGetBaseThemes.
ThemeExtensionListTest::testDoGetBaseThemes function core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php Tests getting the base themes for a set of defined themes.
ThemeExtensionListTest::testGetList function core/tests/Drupal/KernelTests/Core/Extension/ThemeExtensionListTest.php Tests get list.
ThemeExtensionListTest::testRebuildThemeDataWithThemeParents function core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php Tests rebuild the theme data with theme parents.
ThemeExtensionListTest::testThemeWithoutVersion function core/tests/Drupal/KernelTests/Core/Extension/ThemeExtensionListTest.php Tests that themes have an empty default version set.
ThemeHandlerTest class core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php Tests Drupal\Core\Extension\ThemeHandler.
ThemeHandlerTest.php file core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php
ThemeHandlerTest::$configFactory property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php The mocked config factory.
ThemeHandlerTest::$themeHandler property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php The tested theme handler.
ThemeHandlerTest::$themeList property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php The theme listing service.
ThemeHandlerTest::setUp function core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php
ThemeHandlerTest::testMissingTheme function core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php Test that a missing theme doesn't break ThemeHandler::listInfo().

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