Search for discovery

  1. Search 7.x for discovery
  2. Search 9.5.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
CustomDirectoryAnnotatedClassDiscoveryTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
CustomDirectoryAnnotatedClassDiscoveryTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
D6NodeDeriver::$fieldDiscovery property core/modules/node/src/Plugin/migrate/D6NodeDeriver.php The migration field discovery service.
D7NodeDeriver::$fieldDiscovery property core/modules/node/src/Plugin/migrate/D7NodeDeriver.php The migration field discovery service.
D7TaxonomyTermDeriver::$fieldDiscovery property core/modules/taxonomy/src/Plugin/migrate/D7TaxonomyTermDeriver.php The migration field discovery service.
DefaultFactory::$discovery property core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php The object that retrieves the definitions of the plugins that this factory instantiates.
DefaultPluginManager::getDiscovery function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Gets the plugin discovery.
DerivativeDiscoveryDecorator class core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Base class providing the tools for a plugin discovery to be derivative aware.
DerivativeDiscoveryDecorator.php file core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
DerivativeDiscoveryDecorator::$decorated property core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php The decorated plugin discovery.
DerivativeDiscoveryDecorator::$derivers property core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Plugin derivers.
DerivativeDiscoveryDecorator::decodePluginId function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Decodes derivative id and plugin id from a string.
DerivativeDiscoveryDecorator::encodePluginId function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Encodes plugin and derivative id's into a string.
DerivativeDiscoveryDecorator::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
DerivativeDiscoveryDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
DerivativeDiscoveryDecorator::getDerivatives function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Adds derivatives to a list of plugin definitions.
DerivativeDiscoveryDecorator::getDeriver function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Gets a deriver for a base plugin.
DerivativeDiscoveryDecorator::getDeriverClass function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Gets the deriver class name from the base plugin definition.
DerivativeDiscoveryDecorator::mergeDerivativeDefinition function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Merges a base and derivative definition, taking into account empty values.
DerivativeDiscoveryDecorator::__call function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Passes through all unknown calls onto the decorated object.
DerivativeDiscoveryDecorator::__construct function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Creates a new instance.
DerivativeDiscoveryDecoratorTest class core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Unit tests for the derivative discovery decorator.
DerivativeDiscoveryDecoratorTest.php file core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php
DerivativeDiscoveryDecoratorTest::$discoveryMain property core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php The mock main discovery object.
DerivativeDiscoveryDecoratorTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php
DerivativeDiscoveryDecoratorTest::testExistingDerivative function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests derivative definitions when a definition already exists.
DerivativeDiscoveryDecoratorTest::testGetDerivativeFetcher function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method.
DerivativeDiscoveryDecoratorTest::testGetDerivativeFetcherWithAnnotationObjects function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with objects instead of arrays.
DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithClassedDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests getDeriverClass with classed objects instead of arrays.
DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithInvalidClassedDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php @covers ::getDeriverClass[[api-linebreak]]
DerivativeDiscoveryDecoratorTest::testInvalidDerivativeFetcher function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with an invalid class.
DerivativeDiscoveryDecoratorTest::testNonExistentDerivativeFetcher function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with a non-existent class.
DerivativeDiscoveryDecoratorTest::testSingleExistingDerivative function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests a single definition when a derivative already exists.
DiscoveryCachedTrait trait core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php
DiscoveryCachedTrait.php file core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php
DiscoveryCachedTrait::$definitions property core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php Cached definitions array.
DiscoveryCachedTrait::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php
DiscoveryCachedTraitTest class core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php @coversDefaultClass \Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait[[api-linebreak]]
@uses \Drupal\Component\Plugin\Discovery\DiscoveryTrait
@group Plugin
DiscoveryCachedTraitTest.php file core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php
DiscoveryCachedTraitTest::providerGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php Data provider for testGetDefinition().
DiscoveryCachedTraitTest::testGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php @covers ::getDefinition[[api-linebreak]]
@dataProvider providerGetDefinition
DiscoveryException class core/lib/Drupal/Component/Discovery/DiscoveryException.php Exception thrown during discovery if the data is invalid.
DiscoveryException.php file core/lib/Drupal/Component/Discovery/DiscoveryException.php
DiscoveryInterface interface core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php An interface defining the minimum requirements of building a plugin
discovery component.
DiscoveryInterface.php file core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php
DiscoveryInterface::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Gets a specific plugin definition.
DiscoveryInterface::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Gets the definition of all plugins for this type.
DiscoveryInterface::hasDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Indicates if a specific plugin definition exists.
DiscoveryTest1 class core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php Provides a custom test plugin.
DiscoveryTest1.php file core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php

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