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
TestAuthenticationProvider class core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php A simple provider for unit testing AuthenticationCollector.
TestAuthenticationProvider::$providerId property core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php The provider id.
TestAuthenticationProvider::applies function core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php Checks whether suitable authentication credentials are on the request.
TestAuthenticationProvider::authenticate function core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php Authenticates the user.
TestAuthenticationProvider::__construct function core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php Constructor.
TestAuthenticationProviderInterface interface core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php Helper interface to mock two interfaces at once.
TestAuthGlobal class core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuthGlobal.php Global authentication provider for testing purposes.
TestAuthGlobal.php file core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuthGlobal.php
TestAuthGlobal::applies function core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuthGlobal.php Checks whether suitable authentication credentials are on the request.
TestAuthGlobal::authenticate function core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuthGlobal.php Authenticates the user.
TestBaseFieldDefinitionInterface interface core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php Defines a test interface to mock entity base field definitions.
TestBaseFieldDefinitionInterface.php file core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php
TestBaseInterface interface core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test base interface.
TestBaseThemeHooks class core/modules/system/tests/themes/test_base_theme/src/Hook/TestBaseThemeHooks.php Hook implementations for test_base_theme.
TestBaseThemeHooks.php file core/modules/system/tests/themes/test_base_theme/src/Hook/TestBaseThemeHooks.php
TestBaseThemeHooks::preprocessThemeTestFunctionSuggestions function core/modules/system/tests/themes/test_base_theme/src/Hook/TestBaseThemeHooks.php Implements hook_preprocess_HOOK() for theme_test_function_suggestions theme functions.
TestBaseThemeHooks::preprocessThemeTestTemplateTest function core/modules/system/tests/themes/test_base_theme/src/Hook/TestBaseThemeHooks.php Implements hook_preprocess_HOOK() for theme_test_template_test templates.
TestBaseThemeHooks::viewsPostRender function core/modules/system/tests/themes/test_base_theme/src/Hook/TestBaseThemeHooks.php Implements hook_views_post_render().
TestBaseThemeHooks::viewsPreRender function core/modules/system/tests/themes/test_base_theme/src/Hook/TestBaseThemeHooks.php Implements hook_views_pre_render().
TestBlockInstantiation class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Provides a basic block for testing block instantiation and configuration.
TestBlockInstantiation.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Indicates whether the block should be shown.
TestBlockInstantiation::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::blockSubmit function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Builds and returns the renderable array for this block plugin.
TestBlockInstantiation::defaultConfiguration function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockPluginWithRefinableDependentAccessInterface interface core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php Test interface for dependent access block plugins.
TestCacheableDependency class core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php Cacheable dependency object for use in tests.
TestCacheableDependency.php file core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php
TestCacheableDependency::$contexts property core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache contexts.
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.

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