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 main 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
TextWithSummaryItemTest::$fieldStorage property core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryItemTest.php Field storage entity.
TextWithSummaryItemTest::$modules property core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryItemTest.php Modules to install.
TextWithSummaryItemTest::$modules property core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Modules to install.
TextWithSummaryItemTest::createField function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Creates a text_with_summary field storage and field.
TextWithSummaryItemTest::createField function core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryItemTest.php Creates a text_with_summary field storage and field.
TextWithSummaryItemTest::setUp function core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryItemTest.php Set the default field storage backend for fields created during tests.
TextWithSummaryItemTest::setUp function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Set the default field storage backend for fields created during tests.
TextWithSummaryItemTest::testCrudAndUpdate function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Tests processed properties.
TextWithSummaryItemTest::testCrudAndUpdate function core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryItemTest.php Tests processed properties.
TextWithSummaryTokenReplaceTest class core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Tests node token replacement for text_with_summary.
TextWithSummaryTokenReplaceTest class core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Tests node token replacement for text_with_summary.
TextWithSummaryTokenReplaceTest.php file core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php
TextWithSummaryTokenReplaceTest.php file core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php
TextWithSummaryTokenReplaceTest::$modules property core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Modules to install.
TextWithSummaryTokenReplaceTest::$modules property core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Modules to install.
TextWithSummaryTokenReplaceTest::setUp function core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php
TextWithSummaryTokenReplaceTest::setUp function core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php
TextWithSummaryTokenReplaceTest::testNodeTokenReplacement function core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Creates a node, then tests the tokens generated from it.
TextWithSummaryTokenReplaceTest::testNodeTokenReplacement function core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Creates a node, then tests the tokens generated from it.
TextWithSummaryUnusedStorageUpdatePathTest class core/modules/text/tests/src/Functional/Update/TextWithSummaryUnusedStorageUpdatePathTest.php Tests installing text_with_summary for an unused field storage.
TextWithSummaryUnusedStorageUpdatePathTest.php file core/modules/text/tests/src/Functional/Update/TextWithSummaryUnusedStorageUpdatePathTest.php
TextWithSummaryUnusedStorageUpdatePathTest::setDatabaseDumpFiles function core/modules/text/tests/src/Functional/Update/TextWithSummaryUnusedStorageUpdatePathTest.php Set database dump files to be used.
TextWithSummaryUnusedStorageUpdatePathTest::testRunUpdates function core/modules/text/tests/src/Functional/Update/TextWithSummaryUnusedStorageUpdatePathTest.php Tests text_with_summary installation for an unused field storage.
TextWithSummaryUpdatePathTest class core/modules/text/tests/src/Functional/Update/TextWithSummaryUpdatePathTest.php Tests the upgrade path that installs text_with_summary and updates.
TextWithSummaryUpdatePathTest.php file core/modules/text/tests/src/Functional/Update/TextWithSummaryUpdatePathTest.php
TextWithSummaryUpdatePathTest::setDatabaseDumpFiles function core/modules/text/tests/src/Functional/Update/TextWithSummaryUpdatePathTest.php Set database dump files to be used.
TextWithSummaryUpdatePathTest::testRunUpdates function core/modules/text/tests/src/Functional/Update/TextWithSummaryUpdatePathTest.php Tests text_with_summary install and dependency updates.
text_summary_test.info.yml file core/modules/text_with_summary/tests/modules/text_summary_test/text_summary_test.info.yml core/modules/text_with_summary/tests/modules/text_summary_test/text_summary_test.info.yml
text_summary_test.info.yml file core/modules/text/tests/modules/text_summary_test/text_summary_test.info.yml core/modules/text/tests/modules/text_summary_test/text_summary_test.info.yml
text_summary_test.libraries.yml file core/modules/text/tests/modules/text_summary_test/text_summary_test.libraries.yml core/modules/text/tests/modules/text_summary_test/text_summary_test.libraries.yml
text_summary_test.libraries.yml file core/modules/text_with_summary/tests/modules/text_summary_test/text_summary_test.libraries.yml core/modules/text_with_summary/tests/modules/text_summary_test/text_summary_test.libraries.yml
text_test.info.yml file core/modules/text/tests/modules/text_test/text_test.info.yml core/modules/text/tests/modules/text_test/text_test.info.yml
theme-test--suggestion.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test--suggestion.html.twig {# Output for Theme API test #}
Theme hook implementor=theme-test--suggestion.html.twig. Foo={{ foo }}
theme-test-deprecations-child.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-child.html.twig {# Test use of deprecated variables in a child template. #}
{{- foo }}|
{{- gaz }}
theme-test-deprecations-hook-theme.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-hook-theme.html.twig {# Test variables deprecated in hook_theme(). #}
{{ foo }}
theme-test-deprecations-preprocess.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-preprocess.html.twig {# Test use of variables deprecated in a preprocess hook. #}
{% set set_var = 'set_var' %}
{{- foo }}|
{{- set_var }}|
{%- for for_var in contents %}
{{- for_var }}|
{%- endfor %}
{{- bar }}
theme-test-foo.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-foo.html.twig {# Output for Theme API test #}
{{ foo -}}
theme-test-function-template-override.html.twig file core/modules/system/tests/themes/test_theme/theme-test-function-template-override.html.twig {# Output for Theme API test #}
Success: Template overrides theme function.
theme-test-general-suggestions--module-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-general-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_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
theme-test-general-suggestions--theme-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-general-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_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
theme-test-general-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-general-suggestions.html.twig {# Output for Theme API test #}
Original template for testing hook_theme_suggestions_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
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>

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