Search for discovery

  1. Search 7.x for discovery
  2. Search 8.9.x for discovery
  3. Search 10.3.x for discovery
  4. Search 11.x for discovery
  5. Search main for discovery
  6. Other projects
Title Object type File name Summary
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::parseTestClassAnnotations function core/lib/Drupal/Core/Test/TestDiscovery.php Parses annotations in the phpDoc of a test class.
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 @coversDefaultClass \Drupal\Core\Test\TestDiscovery[[api-linebreak]]
@group Test
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 @covers ::getPhpunitTestSuite[[api-linebreak]]
@dataProvider providerTestGetPhpunitTestSuite
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
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 @covers ::getTestClasses[[api-linebreak]]
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 @covers ::getTestInfo[[api-linebreak]]
@dataProvider infoParserProvider
TestDiscoveryTest::testTestInfoParserMissingGroup function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
TestDiscoveryTest::testTestInfoParserMissingSummary function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
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
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.
TestRouteBuilder::$yamlDiscovery property core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php The mocked YAML discovery.
TestRouteBuilder::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.
VfsThemeExtensionList::$extensionDiscovery property core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php The extension discovery for this extension list.
VfsThemeExtensionList::getExtensionDiscovery function core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php Returns the extension discovery.
VfsThemeExtensionList::setExtensionDiscovery function core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php Sets the extension discovery.
YamlDirectoryDiscovery class core/lib/Drupal/Core/Plugin/Discovery/YamlDirectoryDiscovery.php Allows multiple YAML files per directory to define plugin definitions.
YamlDirectoryDiscovery class core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Discovers multiple YAML files in a set of directories.
YamlDirectoryDiscovery.php file core/lib/Drupal/Core/Plugin/Discovery/YamlDirectoryDiscovery.php
YamlDirectoryDiscovery.php file core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php
YamlDirectoryDiscovery::$directories property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php An array of directories to scan, keyed by the provider.
YamlDirectoryDiscovery::$fileCacheKeySuffix property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php The suffix for the file cache key.
YamlDirectoryDiscovery::$idKey property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php The key contained in the discovered data that identifies it.
YamlDirectoryDiscovery::FILE_KEY constant core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Defines the key in the discovered data where the file path is stored.
YamlDirectoryDiscovery::findAll function core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Returns an array of discoverable items.

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