Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
MockContainerInjection::getResult function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php
MockContainerInjection::__construct function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php
MockContainerInjection::__construct function 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 Mock for the PSR-7 controller.
MockControllerPsr7::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockFileFinderTest class core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php Tests Drupal\Component\Annotation\Reflection\MockFileFinder.
MockFileFinderTest.php file core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php
MockFileFinderTest::testFindFile function core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php @legacy-covers ::create
@legacy-covers ::findFile
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.
MockFormBase class core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php Interface used in the mocking process of this test.
MockFormBase::hash_submit function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php Function used in the mocking process of this test.
MockFormBase::simple_string_submit function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php Function used in the mocking process of this test.
MockFormBase::submit_handler function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php Function used in the mocking process of this test.
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.
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::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::__construct function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
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.
MockPathLocator::$state property core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php The state service.
MockPathLocator::getStagingRoot function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
MockPathLocator::setPaths function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php Sets the paths to return.
MockPathLocator::__construct function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php Constructs a PathLocator object.
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.
MockRouteProvider::$routes property core/modules/system/src/Tests/Routing/MockRouteProvider.php A collection of routes for this route provider.
MockRouteProvider::getAllRoutes function core/modules/system/src/Tests/Routing/MockRouteProvider.php Returns all the routes on the system.
MockRouteProvider::getRouteAliases function core/modules/system/src/Tests/Routing/MockRouteProvider.php Gets aliases for a route name.
MockRouteProvider::getRouteCollectionForRequest function core/modules/system/src/Tests/Routing/MockRouteProvider.php Implements \Drupal\Core\Routing\RouteProviderInterface::getRouteCollectionForRequest().
MockRouteProvider::getRoutesByNames function core/modules/system/src/Tests/Routing/MockRouteProvider.php Find many routes by their names using the provided list of names.
MockRouteProvider::getRoutesByPattern function core/modules/system/src/Tests/Routing/MockRouteProvider.php Get all routes which match a certain pattern.
MockRouteProvider::preLoadRoutes function core/modules/system/src/Tests/Routing/MockRouteProvider.php
MockRouteProvider::reset function core/modules/system/src/Tests/Routing/MockRouteProvider.php Resets the route provider object.
MockRouteProvider::__construct function core/modules/system/src/Tests/Routing/MockRouteProvider.php Constructs a new MockRouteProvider.
MockService class core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper class to test Container::get() method.
MockService::$container property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
MockService::$someOtherParameter property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php

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