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
AttributeDiscoveryWithAnnotationsAutomatedProviders.php file core/modules/migrate/src/Plugin/Discovery/AttributeDiscoveryWithAnnotationsAutomatedProviders.php
AttributeDiscoveryWithAnnotationsAutomatedProviders::parseClass function core/modules/migrate/src/Plugin/Discovery/AttributeDiscoveryWithAnnotationsAutomatedProviders.php Parses attributes from a class.
AttributeDiscoveryWithAnnotationsAutomatedProviders::__construct function core/modules/migrate/src/Plugin/Discovery/AttributeDiscoveryWithAnnotationsAutomatedProviders.php Constructs an AttributeDiscoveryWithAnnotations object.
AttributeRouteDiscovery class core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Discovers routes using Symfony's Route attribute.
AttributeRouteDiscovery.php file core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php
AttributeRouteDiscovery::addRoute function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Adds a route to the provided route collection.
AttributeRouteDiscovery::collectRoutes function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Creates a collection of routes to add to the route builder.
AttributeRouteDiscovery::configureRoute function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Configures the _controller default parameter of a given Route instance.
AttributeRouteDiscovery::createRouteCollection function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Creates a route collection from a class's attributed methods.
AttributeRouteDiscovery::getAttributes function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Gets the PHP attributes.
AttributeRouteDiscovery::getGlobals function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Creates the default route settings for a class.
AttributeRouteDiscovery::getPriority function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php Determines the priority of the route build event listener.
AttributeRouteDiscovery::__construct function core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php
AttributeRouteDiscoveryTest class core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php Tests \Drupal\Core\Routing\AttributeRouteDiscovery.
AttributeRouteDiscoveryTest.php file core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php
AttributeRouteDiscoveryTest::$routeCollection property core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php The discovered route collection.
AttributeRouteDiscoveryTest::setUp function core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php
AttributeRouteDiscoveryTest::testAllRouteProperties function core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php Tests all supported route properties.
AttributeRouteDiscoveryTest::testClassGlobalsInheritance function core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php Tests that a method inherits class-level globals.
AttributeRouteDiscoveryTest::testClassGlobalsMerging function core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php Tests that method-level properties correctly merge with class globals.
AttributeRouteDiscoveryTest::testOnRouteBuild function core/tests/Drupal/Tests/Core/Routing/AttributeRouteDiscoveryTest.php @legacy-covers ::onRouteBuild
BreakpointDiscoveryTest class core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php Tests discovery of breakpoints provided by themes and modules.
BreakpointDiscoveryTest.php file core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
BreakpointDiscoveryTest::$modules property core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php Modules to install.
BreakpointDiscoveryTest::setUp function core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
BreakpointDiscoveryTest::testBreakpointGroups function core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php Tests the collection of breakpoint groups.
BreakpointDiscoveryTest::testCustomBreakpointGroups function core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php Tests the custom breakpoint group provided by a theme and a module.
BreakpointDiscoveryTest::testModuleBreakpoints function core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php Tests the breakpoint group created for a module.
BreakpointDiscoveryTest::testThemeBreakpoints function core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php Tests the breakpoint group created for a theme.
BreakpointManager::getDiscovery function core/modules/breakpoint/src/BreakpointManager.php Gets the plugin discovery.
BundleClassTest::testBundleClassAttributeDiscovery function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests bundle class discovery via attributes.
cache.discovery service core/core.services.yml Drupal\Core\Cache\CacheBackendInterface
cache.discovery_migration service core/modules/migrate/migrate.services.yml Drupal\Core\Cache\CacheBackendInterface
CachedDiscoveryClearer class core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Defines a class which is capable of clearing the cache on plugin managers.
CachedDiscoveryClearer.php file core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php
CachedDiscoveryClearer::$legacyCachedDiscoveries property core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php The legacy stored discoveries.
CachedDiscoveryClearer::addCachedDiscovery function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Adds a plugin manager to the active list.
CachedDiscoveryClearer::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Clears the cache on all cached discoveries.
CachedDiscoveryClearer::__construct function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Constructs the CachedDiscoveryClearer service.
CachedDiscoveryClearerInterface interface core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php Provides a way to clear static caches of all plugin managers.
CachedDiscoveryClearerInterface.php file core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php
CachedDiscoveryClearerInterface::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php Clears the cache on all cached discoveries.
CachedDiscoveryInterface interface core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php Interface for discovery components holding a cache of plugin definitions.
CachedDiscoveryInterface.php file core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php
CachedDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php Clears static and persistent plugin definition caches.
CachedDiscoveryInterface::useCaches function core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php Disable the use of caches.
CKEditor5PluginManager::getDiscovery function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php Gets the plugin discovery.
ComponentPluginManager::getDiscovery function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Gets the plugin discovery.
ComponentPluginManagerCachedDiscoveryTest class core/tests/Drupal/KernelTests/Components/ComponentPluginManagerCachedDiscoveryTest.php Tests discovery of components in a theme being installed or uninstalled.
ComponentPluginManagerCachedDiscoveryTest.php file core/tests/Drupal/KernelTests/Components/ComponentPluginManagerCachedDiscoveryTest.php

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