Search for all

  1. Search 7.x for all
  2. Search 9.5.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
MockControllerPsr7::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockEditEntityFieldAccessCheck class core/modules/quickedit/tests/modules/src/MockEditEntityFieldAccessCheck.php
MockEditEntityFieldAccessCheck.php file core/modules/quickedit/tests/modules/src/MockEditEntityFieldAccessCheck.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
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.
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
MockLayoutBlockDeriver::getDerivativeDefinition function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php Gets the definition of a derivative plugin.
MockLayoutBlockDeriver::getDerivativeDefinitions function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php Gets the definition of all derivatives of a base plugin.
MockMatcher class core/modules/system/tests/src/Functional/Routing/MockMatcher.php A mock matcher that can be configured with any matching logic for testing.
MockMatcher.php file core/modules/system/tests/src/Functional/Routing/MockMatcher.php
MockMatcher::$matcher property core/modules/system/tests/src/Functional/Routing/MockMatcher.php The matcher being tested.
MockMatcher::matchRequest function core/modules/system/tests/src/Functional/Routing/MockMatcher.php
MockMatcher::__construct function core/modules/system/tests/src/Functional/Routing/MockMatcher.php Constructs a MockMatcher object.
MockMenuBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php Mock implementation of a menu block plugin used by Plugin API unit tests.
MockMenuBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
MockMenuBlock::$depth property core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php The number of menu levels deep to render.
MockMenuBlock::$title property core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php The title to display when rendering this block instance.
MockMenuBlock::getContent function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php Returns the content to display.
MockMenuBlock::__construct function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
MockMenuBlockDeriver class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Mock implementation of DeriverInterface for the mock menu block plugin.
MockMenuBlockDeriver.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
MockMenuBlockDeriver::getDerivativeDefinition function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Gets the definition of a derivative plugin.
MockMenuBlockDeriver::getDerivativeDefinitions function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Gets the definition of all derivatives of a base plugin.
MockPhpStorage class core/modules/system/src/PhpStorage/MockPhpStorage.php Mock PHP storage class used for testing.
MockPhpStorage.php file core/modules/system/src/PhpStorage/MockPhpStorage.php
MockPhpStorage::$configuration property core/modules/system/src/PhpStorage/MockPhpStorage.php The storage configuration.
MockPhpStorage::getConfiguration function core/modules/system/src/PhpStorage/MockPhpStorage.php Gets the configuration data.
MockPhpStorage::getConfigurationValue function core/modules/system/src/PhpStorage/MockPhpStorage.php Gets a single configuration key.
MockPhpStorage::__construct function core/modules/system/src/PhpStorage/MockPhpStorage.php Constructs a MockPhpStorage object.
MockQuickEditEntityFieldAccessCheck class core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php Access check for in-place editing entity fields.

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