Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
MockAliasManager::getAliasByPath function core/modules/system/src/Tests/Routing/MockAliasManager.php Given a path, return the alias.
MockAliasManager::getPathByAlias function core/modules/system/src/Tests/Routing/MockAliasManager.php Given the alias, return the path it represents.
MockBlockManager class core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php Defines a plugin manager used by Plugin API derivative unit tests.
MockBlockManager.php file core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
MockBlockManager::createContextDefinition function core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php Creates a new context definition with a label that is cast to string.
MockBlockManager::__construct function core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
MockComplexContextBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php Implementation of a complex context plugin used by Plugin API context tests.
MockComplexContextBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php
MockComplexContextBlock::getTitle function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php
MockConfiguratorInterface interface core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper interface to test Container::get() with configurator.
MockConfiguratorInterface::configureService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Configures a service.
MockContainerAware class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerAware::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::$result property core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::create function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Instantiates a new instance of this class.
MockContainerInjection::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::__construct function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockController class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockController::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockController::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7 class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockedHttpKernelInterface interface core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Helper interface for the Symfony 6 version of the HttpKernelInterface.
MockedHttpKernelInterface::handle function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
MockFileFinder class core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php Defines a mock file finder that only returns a single filename.
MockFileFinder.php file core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php
MockFileFinder::$filename property core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php The only filename this finder ever returns.
MockFileFinder::create function core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php Creates new mock file finder objects.
MockFileFinder::findFile function core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php Finds a class.
MockFileFinderTest class core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php @coversDefaultClass \Drupal\Component\Annotation\Reflection\MockFileFinder[[api-linebreak]]
@group Annotation
MockFileFinderTest.php file core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php
MockFileFinderTest::testFindFile function core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php @covers ::create[[api-linebreak]]
@covers ::findFile[[api-linebreak]]
MockFileTransfer class core/modules/system/tests/modules/system_test/src/MockFileTransfer.php Mock FileTransfer object to test the settings form functionality.
MockFileTransfer.php file core/modules/system/tests/modules/system_test/src/MockFileTransfer.php
MockFileTransfer::factory function core/modules/system/tests/modules/system_test/src/MockFileTransfer.php Returns a Drupal\system_test\MockFileTransfer object.
MockFileTransfer::getSettingsForm function core/modules/system/tests/modules/system_test/src/MockFileTransfer.php Returns a settings form with a text field to input a username.
MockHttpKernelInterface interface core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php Helper interface for the Symfony 6 version of the HttpKernelInterface.
MockHttpKernelInterface::handle function core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php
MockInstantiationService class core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper class to test Container::get() method for varying number of parameters.
MockInstantiationService::$arguments property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
MockInstantiationService::getArguments function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Return arguments injected into the service.
MockInstantiationService::__construct function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Construct a mock instantiation service.
MockInvokeController class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockInvokeController::__invoke function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockLayoutBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlock.php Mock implementation of a layout block plugin used by Plugin API unit tests.
MockLayoutBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlock.php
MockLayoutBlockDeriver class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php Mock implementation of DeriverInterface for the mock layout block plugin.
MockLayoutBlockDeriver.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php

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