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 11.x for discovery
  5. Search main for discovery
  6. Other projects
Title Object type File name Summary
AttributeClassDiscovery::$directorySuffix property core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php A suffix to append to each PSR-4 directory associated with a base namespace.
AttributeClassDiscovery::$fileCache property core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php The file cache object.
AttributeClassDiscovery::$namespaceSuffix property core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php A suffix to append to each base namespace.
AttributeClassDiscovery::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets the definition of all plugins for this type.
AttributeClassDiscovery::getFileCacheSuffix function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets the file cache suffix.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscovery::getProviderFromNamespace function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Extracts the provider name from a Drupal namespace.
AttributeClassDiscovery::parseClass function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Parses attributes from a class.
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeClassDiscovery::__construct function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Constructs an AttributeClassDiscovery object.
AttributeClassDiscovery::__construct function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Constructs a new instance.
AttributeClassDiscoveryCachedTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php @coversDefaultClass \Drupal\Component\Plugin\Discovery\AttributeClassDiscovery[[api-linebreak]]
@group Attribute
@runTestsInSeparateProcesses
AttributeClassDiscoveryCachedTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests that getDefinitions() retrieves the file cache correctly.
AttributeClassDiscoveryTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @coversDefaultClass \Drupal\Component\Plugin\Discovery\AttributeClassDiscovery[[api-linebreak]]
@group Attribute
@runTestsInSeparateProcesses
AttributeClassDiscoveryTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::getDefinitions[[api-linebreak]]
@covers ::prepareAttributeDefinition[[api-linebreak]]
AttributeClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::__construct[[api-linebreak]]
@covers ::getPluginNamespaces[[api-linebreak]]
AttributeDiscoveryTest1 class core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest1.php Provides a custom test plugin.
AttributeDiscoveryTest1.php file core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest1.php
AttributeDiscoveryTest2 class core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest2.php Provides a custom test plugin that extends from a missing dependency.
AttributeDiscoveryTest2.php file core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest2.php
AttributeDiscoveryWithAnnotations class core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Enables both attribute and annotation discovery for plugin definitions.
AttributeDiscoveryWithAnnotations.php file core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php
AttributeDiscoveryWithAnnotations::$annotationReader property core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php The doctrine annotation reader.
AttributeDiscoveryWithAnnotations::getAnnotationReader function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Gets the used doctrine annotation reader.
AttributeDiscoveryWithAnnotations::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Gets the definition of all plugins for this type.
AttributeDiscoveryWithAnnotations::getFileCacheSuffix function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Gets the file cache suffix.
AttributeDiscoveryWithAnnotations::parseClass function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Parses attributes from a class.
AttributeDiscoveryWithAnnotations::prepareAnnotationDefinition function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Prepares the annotation definition.
AttributeDiscoveryWithAnnotations::__construct function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Constructs an AttributeDiscoveryWithAnnotations object.
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.
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/ProxyClass/Plugin/CachedDiscoveryClearer.php Provides a proxy class for \Drupal\Core\Plugin\CachedDiscoveryClearer.
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/ProxyClass/Plugin/CachedDiscoveryClearer.php
CachedDiscoveryClearer.php file core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php

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