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
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.
MockQuickEditEntityFieldAccessCheck.php file core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php
MockQuickEditEntityFieldAccessCheck::accessEditEntityField function core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php Checks access to edit the requested field of the requested entity.
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::getRouteByName function core/modules/system/src/Tests/Routing/MockRouteProvider.php Find the route using the provided 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
MockService::$someOtherService property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
MockService::$someParameter property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
MockService::getContainer function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Gets the container object.
MockService::getFactoryMethod function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Provides a factory method to get a service.
MockService::getSomeOtherParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Gets the someOtherParameter property.
MockService::getSomeOtherService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Gets the someOtherService object.
MockService::getSomeParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Gets the someParameter property.
MockService::setContainer function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Sets the container object.
MockService::setOtherConfigParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Sets the someOtherParameter property.
MockService::__construct function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Constructs a MockService object.

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