Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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.
MockInvokeController class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Test class used for testing the Controller resolver class.
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.
MockPathLocator class core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php Mock path locator: allows specifying paths instead of discovering paths.
MockPathLocator.php file core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
MockPathLocator::$state property core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php The state service.
MockPathLocator::getProjectRoot function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
MockPathLocator::getStagingRoot function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
MockPathLocator::getVendorDirectory function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
MockPathLocator::getWebRoot 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 class core/modules/system/src/Tests/Routing/MockRouteProvider.php Easily configurable mock route provider.
MockRouteProvider.php file core/modules/system/src/Tests/Routing/MockRouteProvider.php
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::getRouteByName function core/modules/system/src/Tests/Routing/MockRouteProvider.php Find the route using the provided route name.

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