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
TestAccessBlock::create function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Instantiates a new instance of the implementing class using autowiring.
TestAccessBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestAccessBlock::__construct function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Tests the test access block.
TestAccessCheck class core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php Access check for test routes.
TestAccessCheck.php file core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php
TestAccessCheck::access function core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php Checks access.
TestAccessCheckInterface interface core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php Defines an interface with a defined access() method for mocking.
TestAccessCheckInterface::access function core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
TestAccessClass class core/tests/Drupal/Tests/Core/Render/RendererTest.php Test class for mocking the access callback.
TestAccessClass::accessFalse function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestAccessClass::accessResultAllowed function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestAccessClass::accessResultForbidden function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestAccessClass::accessTrue function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestAccessClass::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTest.php Lists the trusted callbacks provided by the implementing class.
TestAction class core/modules/views/tests/modules/action_bulk_test/src/Plugin/Action/TestAction.php Test action.
TestAction.php file core/modules/views/tests/modules/action_bulk_test/src/Plugin/Action/TestAction.php
TestAction::access function core/modules/views/tests/modules/action_bulk_test/src/Plugin/Action/TestAction.php Checks object access.
TestAction::execute function core/modules/views/tests/modules/action_bulk_test/src/Plugin/Action/TestAction.php Executes the plugin.
TestActionConfirmForm class core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Confirmation form for 'test_action' action.
TestActionConfirmForm.php file core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php
TestActionConfirmForm::getCancelUrl function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Returns the route to go to if the user cancels the action.
TestActionConfirmForm::getFormId function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Returns a unique string identifying the form.
TestActionConfirmForm::getQuestion function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Returns the question to ask the user.
TestActionConfirmForm::submitForm function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Form submission handler.
TestAddForm class core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Test add form.
TestAddForm.php file core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php
TestAddForm::buildInputElement function core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Builds the element for submitting source field value(s).
TestAddForm::getFormId function core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Returns a unique string identifying the form.
TestAjaxBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Provides a 'TestAjax' block.
TestAjaxBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php
TestAjaxBlock::ajaxCallback function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Ajax callback.
TestAjaxBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php
TestAjaxBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Builds and returns the renderable array for this block plugin.
TestAnnotation class core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php
TestAnnotation::get function core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php Gets the value of an annotation.
TestAttribute class core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Test class for HTML attributes collector, sanitizer, and renderer.
TestAttribute class core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php
TestAttribute::get function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php Gets the value of an attribute.
TestAttributes class core/modules/system/tests/modules/router_test_directory/src/Controller/TestAttributes.php Test controller for method-level Route attributes.
TestAttributes.php file core/modules/system/tests/modules/router_test_directory/src/Controller/TestAttributes.php
TestAttributes::allProperties function core/modules/system/tests/modules/router_test_directory/src/Controller/TestAttributes.php #[Route(path: '/test_all_properties/{parameter}', name: 'router_test.all_properties', requirements: [
'_access' => 'TRUE',
'parameter' => '\\d+',
], options: [
'_admin_route' => TRUE,
'utf8' => TRUE,
], defaults: [
'_title' => 'Test all…
TestAttributes::attributeMethod function core/modules/system/tests/modules/router_test_directory/src/Controller/TestAttributes.php #[Route('/test_method_attribute', name: 'router_test.method_attribute', requirements: [
'_access' => 'TRUE',
], alias: 'router_test.alias_test')]
#[Route('/test_method_attribute-other-path', name: 'router_test.method_attribute_other', requirements:…
TestAttributesBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php Provides a 'TestAttributes' block.
TestAttributesBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
TestAttributesBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
TestAttributesBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php Builds and returns the renderable array for this block plugin.
TestAuth class core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php Authentication provider for testing purposes.
TestAuth.php file core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php
TestAuth::applies function core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php Checks whether suitable authentication credentials are on the request.
TestAuth::authenticate function core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php Authenticates the user.

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