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. 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
TestPluginWithForm::hasFormClass function core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php Gets whether the plugin has a form class for the given operation.
TestPluginWithForm::submitConfigurationForm function core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php
TestPluginWithForm::validateConfigurationForm function core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php
TestPreinstallInterface interface core/tests/Drupal/TestSite/TestPreinstallInterface.php Allows running code prior to a test site install.
TestPreinstallInterface.php file core/tests/Drupal/TestSite/TestPreinstallInterface.php
TestPreinstallInterface::preinstall function core/tests/Drupal/TestSite/TestPreinstallInterface.php Runs code prior to a test site install.
TestPrepareLayout class core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php Provides an event subscriber for testing section storage alteration.
TestPrepareLayout.php file core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php
TestPrepareLayout::$layoutTempstoreRepository property core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php The layout tempstore repository.
TestPrepareLayout::$messenger property core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php The messenger service.
TestPrepareLayout::getSubscribedEvents function core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php
TestPrepareLayout::onAfterPrepareLayout function core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php Subscriber to test acting after the LB subscriber.
TestPrepareLayout::onBeforePrepareLayout function core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php Subscriber to test acting before the LB subscriber.
TestPrepareLayout::__construct function core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php Constructs a new TestPrepareLayout.
TestPrivateService class core/modules/system/tests/modules/services_defaults_test/src/TestPrivateService.php A service to test private flag.
TestPrivateService.php file core/modules/system/tests/modules/services_defaults_test/src/TestPrivateService.php
TestProfilerExtension class core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php Twig extension to add a test node visitor.
TestProfilerExtension.php file core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php
TestProfilerExtension::enter function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php Dummy function called when a Twig template is entered.
TestProfilerExtension::getNodeVisitors function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php
TestProfilerExtension::leave function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php Dummy function called when a Twig template is left.
TestRequirementsTrait trait core/tests/Drupal/Tests/TestRequirementsTrait.php Allows test classes to require Drupal modules as dependencies.
TestRequirementsTrait.php file core/tests/Drupal/Tests/TestRequirementsTrait.php
TestRequirementsTrait::getDrupalRoot function core/tests/Drupal/Tests/TestRequirementsTrait.php Returns the Drupal root directory.
TestResponseController class core/modules/system/tests/modules/http_middleware_test/src/Controller/TestResponseController.php Controller routines for http_middleware_test routes.
TestResponseController class core/modules/system/tests/modules/http_response_debug_cacheability_headers_test/src/Controller/TestResponseController.php Provides responses for testing debug cacheability headers in HTTP responses.
TestResponseController.php file core/modules/system/tests/modules/http_response_debug_cacheability_headers_test/src/Controller/TestResponseController.php
TestResponseController.php file core/modules/system/tests/modules/http_middleware_test/src/Controller/TestResponseController.php
TestResponseController::testCacheContextsHeaders function core/modules/system/tests/modules/http_response_debug_cacheability_headers_test/src/Controller/TestResponseController.php Provides a render array response that has a large number of cache contexts.
TestResponseController::testCacheTagsHeaders function core/modules/system/tests/modules/http_response_debug_cacheability_headers_test/src/Controller/TestResponseController.php Provides a render array response that has a large number of cache tags.
TestResponseController::testResponse function core/modules/system/tests/modules/http_middleware_test/src/Controller/TestResponseController.php Returns a test response.
TestRouteAttributeForm class core/modules/system/tests/modules/router_test_directory/src/Form/TestRouteAttributeForm.php Test form object for Route attribute.
TestRouteAttributeForm.php file core/modules/system/tests/modules/router_test_directory/src/Form/TestRouteAttributeForm.php
TestRouteAttributeForm::buildForm function core/modules/system/tests/modules/router_test_directory/src/Form/TestRouteAttributeForm.php Form constructor.
TestRouteAttributeForm::getFormId function core/modules/system/tests/modules/router_test_directory/src/Form/TestRouteAttributeForm.php Returns a unique string identifying the form.
TestRouteAttributeForm::submitForm function core/modules/system/tests/modules/router_test_directory/src/Form/TestRouteAttributeForm.php Form submission handler.
TestRouteProvider class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity route provider.
TestRouteProvider class core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Stub class for testing RouteProvider.
TestRouteProvider::$moduleHandler property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The module handler to invoke hooks on.
TestRouteProvider::$stringTranslation property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The string translation service.
TestRouteProvider::getCandidateOutlines function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Returns an array of path pattern outlines that could match the path parts.
TestRouterInterface interface core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php Provides a router interface that also can match requests.
TestRouterInterface.php file core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php
TestRouteSubscriber class core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Provides a callback for route definition.
TestRouteSubscriber class core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php Provides a test route subscriber.
TestRouteSubscriber::$applicableViews property core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php The applicable views.
TestRouteSubscriber::getApplicableViews function core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php Returns all views/display combinations with routes.
TestRouteSubscriber::routesFromArray function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestRouteSubscriber::routesFromCollection function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestRun class core/lib/Drupal/Core/Test/TestRun.php Implements an object that tracks execution of a test run.

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