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 11.x for test
  5. 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
TextFormatElementFormTest::submitForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::testTextFormatElement function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Tests that values are returned.
TextFormatElementFormTest::validateForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form validation handler.
TextFormatterTest class core/modules/text/tests/src/Kernel/TextFormatterTest.php Tests the text formatters functionality.
TextFormatterTest.php file core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextFormatterTest::$bundle property core/modules/text/tests/src/Kernel/TextFormatterTest.php The bundle used in this test.
TextFormatterTest::$entityType property core/modules/text/tests/src/Kernel/TextFormatterTest.php The entity type used in this test.
TextFormatterTest::$modules property core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextFormatterTest::setUp function core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextFormatterTest::testFormatters function core/modules/text/tests/src/Kernel/TextFormatterTest.php Tests all text field formatters.
TextItemBaseTest class core/modules/text/tests/src/Kernel/TextItemBaseTest.php Tests TextItemBase.
TextItemBaseTest.php file core/modules/text/tests/src/Kernel/TextItemBaseTest.php
TextItemBaseTest::$modules property core/modules/text/tests/src/Kernel/TextItemBaseTest.php
TextItemBaseTest::providerTextFieldSampleValue function core/modules/text/tests/src/Kernel/TextItemBaseTest.php Data provider for testTextFieldSampleValue.
TextItemBaseTest::testCalculateDependencies function core/modules/text/tests/src/Kernel/TextItemBaseTest.php @covers ::calculateDependencies[[api-linebreak]]
TextItemBaseTest::testTextFieldSampleValue function core/modules/text/tests/src/Kernel/TextItemBaseTest.php Tests creation of sample values.
TextSummaryTest class core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text_summary() with different strings and lengths.
TextSummaryTest.php file core/modules/text/tests/src/Kernel/TextSummaryTest.php
TextSummaryTest::$modules property core/modules/text/tests/src/Kernel/TextSummaryTest.php
TextSummaryTest::assertTextSummary function core/modules/text/tests/src/Kernel/TextSummaryTest.php Calls text_summary() and asserts that the expected teaser is returned.
TextSummaryTest::setUp function core/modules/text/tests/src/Kernel/TextSummaryTest.php
TextSummaryTest::testFirstSentenceQuestion function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text summaries for a question followed by a sentence.
TextSummaryTest::testInvalidFilterFormat function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text summaries with an invalid filter format.
TextSummaryTest::testLength function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests various summary length edge cases.
TextSummaryTest::testLongSentence function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests summary with long example.
TextSummaryTest::testNormalization function core/modules/text/tests/src/Kernel/TextSummaryTest.php Test text normalization when filter_html or filter_htmlcorrector enabled.
TextSummaryTest::testRequiredSummary function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests required summary.
TextWithSummaryItemTest class core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Tests using entity fields of the text summary field type.
TextWithSummaryItemTest.php file core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
TextWithSummaryItemTest::$field property core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Field entity.
TextWithSummaryItemTest::$fieldStorage property core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Field storage entity.
TextWithSummaryItemTest::$modules property core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
TextWithSummaryItemTest::createField function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Creates a text_with_summary field storage and field.
TextWithSummaryItemTest::setUp function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
TextWithSummaryItemTest::testCrudAndUpdate function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Tests processed properties.
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 -}}

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