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
LibraryDiscoveryParserTest::testInvalidLibrariesFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that an exception is thrown when a libraries file couldn't be parsed.
LibraryDiscoveryParserTest::testJsWithPositiveWeight function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Ensures that you cannot provide positive weights for JavaScript libraries.
LibraryDiscoveryParserTest::testLibraryOverride function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests libraries with overrides.
LibraryDiscoveryParserTest::testLibraryOverrideDeprecated function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests deprecated library with an override.
LibraryDiscoveryParserTest::testLibraryThirdPartyWithMissingLicense function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that an exception is thrown when license is missing when 3rd party.
LibraryDiscoveryParserTest::testLibraryWithCssJsSetting function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests a library with CSS/JavaScript and a setting.
LibraryDiscoveryParserTest::testLibraryWithDataTypes function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests a library with a couple of data formats like full URL.
LibraryDiscoveryParserTest::testLibraryWithDependencies function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests a library with dependencies.
LibraryDiscoveryParserTest::testLibraryWithJavaScript function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests a library with JavaScript-specific flags.
LibraryDiscoveryParserTest::testLibraryWithLicenses function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests a library with various licenses, some GPL-compatible, some not.
LibraryDiscoveryParserTest::testNonCoreLibrariesFound function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @covers ::buildByExtension[[api-linebreak]]
LibraryDiscoveryParserTest::testNonCoreLibrariesNotFound function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @covers ::buildByExtension[[api-linebreak]]
LibraryDiscoveryParserTest::testVersion function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests the version property, and how it propagates to the contained assets.
LibraryDiscoveryTest class core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php @coversDefaultClass \Drupal\Core\Asset\LibraryDiscovery[[api-linebreak]]
@group Asset
LibraryDiscoveryTest.php file core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php
LibraryDiscoveryTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php The cache tags invalidator.
LibraryDiscoveryTest::$libraryData property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php Test library data.
LibraryDiscoveryTest::$libraryDiscovery property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php The tested library discovery service.
LibraryDiscoveryTest::$libraryDiscoveryCollector property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php The mocked library discovery cache collector.
LibraryDiscoveryTest::setUp function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php
LibraryDiscoveryTest::testAssetLibraryDeprecation function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php Tests getting a deprecated library.
LibraryDiscoveryTest::testGetLibrariesByExtension function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php @covers ::getLibrariesByExtension[[api-linebreak]]
LibraryDiscoveryTest::testGetLibraryByName function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php Tests getting a library by name.
LinkRelationTypeManager::getDiscovery function core/lib/Drupal/Core/Http/LinkRelationTypeManager.php Gets the plugin discovery.
LoadLibraryController::$libraryDiscovery property core/modules/system/tests/modules/modernizr_deprecation_test/src/Controller/LoadLibraryController.php The library discovery service.
LocalActionManager::getDiscovery function core/lib/Drupal/Core/Menu/LocalActionManager.php Gets the plugin discovery.
LocalActionManagerTest::$discovery property core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php The mocked plugin discovery.
LocalTaskManager::getDiscovery function core/lib/Drupal/Core/Menu/LocalTaskManager.php Gets the plugin discovery.
LocalTaskManagerTest::$pluginDiscovery property core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php The mocked plugin discovery.
MailManagerTest::$discovery property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The plugin discovery.
MenuLinkContent::requiresRediscovery function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Returns whether the menu link requires rediscovery.
MenuLinkContent::setRequiresRediscovery function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Flags a link as requiring rediscovery.
MenuLinkContentInterface::requiresRediscovery function core/modules/menu_link_content/src/MenuLinkContentInterface.php Returns whether the menu link requires rediscovery.
MenuLinkContentInterface::setRequiresRediscovery function core/modules/menu_link_content/src/MenuLinkContentInterface.php Flags a link as requiring rediscovery.
MenuLinkManager::$discovery property core/lib/Drupal/Core/Menu/MenuLinkManager.php The object that discovers plugins managed by this manager.
MenuLinkManager::getDiscovery function core/lib/Drupal/Core/Menu/MenuLinkManager.php Gets the plugin discovery.
MigrateSourcePluginManager::getDiscovery function core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php Gets the plugin discovery.
migrate_drupal.field_discovery service core/modules/migrate_drupal/migrate_drupal.services.yml Drupal\migrate_drupal\FieldDiscovery
MigrationPluginManager::getDiscovery function core/modules/migrate/src/Plugin/MigrationPluginManager.php Gets the plugin discovery.
ModuleExtensionList::getExtensionDiscovery function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Returns the extension discovery.
PermissionHandler::$yamlDiscovery property core/modules/user/src/PermissionHandler.php The YAML discovery class to find all .permissions.yml files.
PermissionHandler::getYamlDiscovery function core/modules/user/src/PermissionHandler.php Gets the YAML discovery.
PluginManagerBase::$discovery property core/lib/Drupal/Component/Plugin/PluginManagerBase.php The object that discovers plugins managed by this manager.
PluginManagerBase::getDiscovery function core/lib/Drupal/Component/Plugin/PluginManagerBase.php Gets the plugin discovery.
ResolvedLibraryDefinitionsFilesMatchTest::$libraryDiscovery property core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php The library discovery service.
RouteBuilderTest::$yamlDiscovery property core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php The mocked YAML discovery.
SectionStorageManagerTest::$discovery property core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php The plugin discovery.
SettableDiscoveryExtensionListTrait trait core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php Trait that allows extension discovery to be set.
SettableDiscoveryExtensionListTrait::$extensionDiscovery property core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php The extension discovery for this extension list.
SettableDiscoveryExtensionListTrait::getExtensionDiscovery function core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php

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