Search for discovery

  1. Search 7.x for discovery
  2. Search 9.5.x for discovery
  3. Search 8.9.x for discovery
  4. Search 10.3.x for discovery
  5. Search main for discovery
  6. Other projects
Title Object type File name Summary
TestDerivativeDiscoveryWithObject::getDerivativeDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php Gets the definition of all derivatives of a base plugin.
TestDiscovery class core/lib/Drupal/Core/Test/TestDiscovery.php Discovers available tests.
TestDiscovery.php file core/lib/Drupal/Core/Test/TestDiscovery.php
TestDiscovery::$availableExtensions property core/lib/Drupal/Core/Test/TestDiscovery.php Cached list of all available extension names, keyed by extension type.
TestDiscovery::$classLoader property core/lib/Drupal/Core/Test/TestDiscovery.php The class loader.
TestDiscovery::$root property core/lib/Drupal/Core/Test/TestDiscovery.php The app root.
TestDiscovery::$testClasses property core/lib/Drupal/Core/Test/TestDiscovery.php Statically cached list of test classes.
TestDiscovery::$testNamespaces property core/lib/Drupal/Core/Test/TestDiscovery.php Cached map of all test namespaces to respective directories.
TestDiscovery::findAllClassFiles function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all class files in all available extensions.
TestDiscovery::getExtensions function core/lib/Drupal/Core/Test/TestDiscovery.php Returns all available extensions.
TestDiscovery::getPhpunitTestSuite function core/lib/Drupal/Core/Test/TestDiscovery.php Determines the phpunit testsuite for a given classname, based on namespace.
TestDiscovery::getTestClasses function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all available tests in all extensions.
TestDiscovery::getTestInfo function core/lib/Drupal/Core/Test/TestDiscovery.php Retrieves information about a test class for UI purposes.
TestDiscovery::parseTestClassSummary function core/lib/Drupal/Core/Test/TestDiscovery.php Parses the phpDoc summary line of a test class.
TestDiscovery::registerTestNamespaces function core/lib/Drupal/Core/Test/TestDiscovery.php Registers test namespaces of all extensions and core test classes.
TestDiscovery::scanDirectory function core/lib/Drupal/Core/Test/TestDiscovery.php Scans a given directory for class files.
TestDiscovery::__construct function core/lib/Drupal/Core/Test/TestDiscovery.php Constructs a new test discovery.
TestDiscoveryTest class core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Unit tests for TestDiscovery.
TestDiscoveryTest.php file core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::getTestDiscoveryMock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Mock a TestDiscovery object to return specific extension values.
TestDiscoveryTest::infoParserProvider function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::providerTestGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::testGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests get phpunit test suite.
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests get test classes.
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests get test classes with selected types.
TestDiscoveryTest::testGetTestInfoEmptyDocblock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure that classes are not reflected when the docblock is empty.
TestDiscoveryTest::testGetTestsInProfiles function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @legacy-covers ::getTestClasses
TestDiscoveryTest::testScanDirectoryNoAbstract function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure TestDiscovery::scanDirectory() ignores certain abstract file types.
TestDiscoveryTest::testTestInfoParser function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests test info parser.
TestDiscoveryTest::testTestInfoParserMissingGroup function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @legacy-covers ::getTestInfo
TestDiscoveryTest::testTestInfoParserMissingSummary function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @legacy-covers ::getTestInfo
TestEntityTypeManager::setDiscovery function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Sets the discovery for the manager.
TestExtension::$extensionDiscovery property core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
TestExtension::getExtensionDiscovery function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php Returns the extension discovery.
TestExtension::setExtensionDiscovery function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
TestLibraryDiscoveryParser class core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps the tested class to mock the external dependencies.
TestLibraryDiscoveryParser::$validUris property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The valid URIs.
TestLibraryDiscoveryParser::fileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::setFileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestMailManager::setDiscovery function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Sets the discovery for the manager.
TestYamlRouteDiscovery class core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Extends the core route builder with a setter method for the YAML discovery.
TestYamlRouteDiscovery::$yamlDiscovery property core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php The mocked YAML discovery.
TestYamlRouteDiscovery::getRouteDefinitions function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Retrieves all defined routes from .routing.yml files.
TestYamlRouteDiscovery::setYamlDiscovery function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Sets the YAML discovery.
TwigNamespaceTest::testTemplateDiscovery function core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php Tests template discovery using namespaces.
TwigRegistryLoaderTest::testTemplateDiscovery function core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php Tests template discovery using the Drupal theme registry.
TypedConfigManager::getDiscovery function core/lib/Drupal/Core/Config/TypedConfigManager.php Gets the plugin discovery.
UrlResolverTest::providerUrlDiscovery function core/modules/media/tests/src/Functional/UrlResolverTest.php Data provider for testUrlDiscovery().
UrlResolverTest::testUrlDiscovery function core/modules/media/tests/src/Functional/UrlResolverTest.php Tests URL resolution when the URL is discovered by scanning the asset.

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