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 11.x for all
  6. Other projects
Title Object type File name Summary
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
MockLayoutBlockDeriver::getDerivativeDefinitions function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php
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
MockMenuBlockDeriver::getDerivativeDefinitions function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
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
MockRouteProvider::getRouteAliases function core/modules/system/src/Tests/Routing/MockRouteProvider.php
MockRouteProvider::getRouteByName function core/modules/system/src/Tests/Routing/MockRouteProvider.php
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
MockRouteProvider::getRoutesByPattern function core/modules/system/src/Tests/Routing/MockRouteProvider.php
MockRouteProvider::preLoadRoutes function core/modules/system/src/Tests/Routing/MockRouteProvider.php
MockRouteProvider::reset function core/modules/system/src/Tests/Routing/MockRouteProvider.php
MockRouteProvider::__construct function core/modules/system/src/Tests/Routing/MockRouteProvider.php Constructs a new MockRouteProvider.

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