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.

All search results

Title Object type File name Summary
TestCacheableDependency::$maxAge property core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache maximum age.
TestCacheableDependency::$tags property core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache tags.
TestCacheableDependency::getCacheContexts function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache contexts associated with this object.
TestCacheableDependency::getCacheMaxAge function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The maximum age for which this object may be cached.
TestCacheableDependency::getCacheTags function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache tags associated with this object.
TestCacheableDependency::__construct function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php
TestCacheBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php Provides a block to test caching.
TestCacheBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestCacheBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php Builds and returns the renderable array for this block plugin.
TestCacheBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestCacheBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestCacheOptionalBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php Provides a block implementing CacheOptionalInterface to test its caching.
TestCacheOptionalBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php
TestCacheOptionalBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php Builds and returns the renderable array for this block plugin.
TestCacheOptionalBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php
TestCacheOptionalBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php
TestCallables class core/tests/Drupal/Tests/Core/Render/RendererTest.php Mock callable for testing the pre_render callback.
TestCallables::lazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestCallables::preRenderPrinted function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestCallables::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTest.php Lists the trusted callbacks provided by the implementing class.
TestChildInterface interface core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test child interface.
TestClass class core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Stub class for testing PluginWithFormsTrait.
TestClass class core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Provides a test class.
TestClass class core/modules/system/tests/modules/service_provider_test/src/TestClass.php Handles kernel events for request and response.
TestClass class core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php Test class using the trait.
TestClass.php file core/modules/system/tests/modules/service_provider_test/src/TestClass.php
TestClass::$state property core/modules/system/tests/modules/service_provider_test/src/TestClass.php The state keyvalue collection.
TestClass::access function core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
TestClass::buildConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form constructor.
TestClass::destruct function core/modules/system/tests/modules/service_provider_test/src/TestClass.php Performs destruct operations.
TestClass::getSubscribedEvents function core/modules/system/tests/modules/service_provider_test/src/TestClass.php Registers methods as kernel listeners.
TestClass::onKernelRequestTest function core/modules/system/tests/modules/service_provider_test/src/TestClass.php A simple kernel listener method.
TestClass::onKernelResponseTest function core/modules/system/tests/modules/service_provider_test/src/TestClass.php Flags the response in case a rebuild indicator is used.
TestClass::submitConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form submission handler.
TestClass::validateConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form validation handler.
TestClass::__construct function core/modules/system/tests/modules/service_provider_test/src/TestClass.php Constructor.
TestClassAttribute class core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttribute.php Test controller for class-level Route attribute with method-level merging.
TestClassAttribute.php file core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttribute.php
TestClassAttribute::inherits function core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttribute.php #[Route(path: '/inherits', name: 'inherits')]
TestClassAttribute::overrides function core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttribute.php #[Route(path: '/overrides/{id}', name: 'overrides', requirements: [
'id' => '\\d+',
], options: [
'option_a' => 'from_method',
'option_b' => 'from_method',
], defaults: [
'default_a' => 'from_method',
'default_b' => 'from_method',
], host:…
TestClassAttribute::__invoke function core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttribute.php #[Route(name: 'invoke')]
TestClassAttributeClassOnly class core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttributeClassOnly.php Test controller: class-only #[Route] with bare __invoke().
TestClassAttributeClassOnly.php file core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttributeClassOnly.php
TestClassAttributeClassOnly::__invoke function core/modules/system/tests/modules/router_test_directory/src/Controller/TestClassAttributeClassOnly.php Provides test content.
TestClassClassMetadata class core/tests/PHPStan/Rules/TestClassClassMetadata.php Rules class-level PHPUnit test metadata in test classes.
TestClassClassMetadata.php file core/tests/PHPStan/Rules/TestClassClassMetadata.php
TestClassClassMetadata::$annotationTargets property core/tests/PHPStan/Rules/TestClassClassMetadata.php PHPUnit metadata annotations.
TestClassClassMetadata::getNodeType function core/tests/PHPStan/Rules/TestClassClassMetadata.php
TestClassClassMetadata::processNode function core/tests/PHPStan/Rules/TestClassClassMetadata.php
TestClassClassMetadata::__construct function core/tests/PHPStan/Rules/TestClassClassMetadata.php

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