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
HelpTopicDiscovery class core/modules/help_topics/src/HelpTopicDiscovery.php Discovers help topic plugins from Twig files in help_topics directories.
HelpTopicDiscovery.php file core/modules/help_topics/src/HelpTopicDiscovery.php
HelpTopicDiscovery::$directories property core/modules/help_topics/src/HelpTopicDiscovery.php An array of directories to scan, keyed by the provider.
HelpTopicDiscovery::FILE_KEY constant core/modules/help_topics/src/HelpTopicDiscovery.php Defines the key in the discovered data where the file path is stored.
HelpTopicDiscovery::findAll function core/modules/help_topics/src/HelpTopicDiscovery.php Returns an array of discoverable items.
HelpTopicDiscovery::findFiles function core/modules/help_topics/src/HelpTopicDiscovery.php Returns an array of providers keyed by file path.
HelpTopicDiscovery::getDefinitions function core/modules/help_topics/src/HelpTopicDiscovery.php Gets the definition of all plugins for this type.
HelpTopicDiscovery::__construct function core/modules/help_topics/src/HelpTopicDiscovery.php Constructs a HelpTopicDiscovery object.
HelpTopicDiscoveryTest class core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @coversDefaultClass \Drupal\help_topics\HelpTopicDiscovery[[api-linebreak]]
@group help_topics
HelpTopicDiscoveryTest.php file core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidRelated function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidTopLevel function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidYamlKey function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testDiscoveryExceptionMissingLabel function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testDiscoveryExceptionProviderMismatch function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testHelpTopicsBrokenYaml function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testHelpTopicsDefinition function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testHelpTopicsExtensionProviderSpecialCase function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicDiscoveryTest::testHelpTopicsInCore function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
HelpTopicPluginManager::getDiscovery function core/modules/help_topics/src/HelpTopicPluginManager.php Gets the plugin discovery.
HookDiscovery class core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Provides a hook-based plugin discovery class.
HookDiscovery.php file core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php
HookDiscovery::$hook property core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php The name of the hook that will be implemented by this discovery instance.
HookDiscovery::$moduleHandler property core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php The module handler used to find and execute the plugin hook.
HookDiscovery::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Gets the definition of all plugins for this type.
HookDiscovery::__construct function core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Constructs a Drupal\Core\Plugin\Discovery\HookDiscovery object.
HookDiscoveryTest class core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php @coversDefaultClass \Drupal\Core\Plugin\Discovery\HookDiscovery[[api-linebreak]]
@group Plugin
HookDiscoveryTest.php file core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::$hookDiscovery property core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php The tested hook discovery.
HookDiscoveryTest::$moduleHandler property core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php The mocked module handler.
HookDiscoveryTest::hookDiscoveryTest2TestPlugin function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::hookDiscoveryTestTestPlugin function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::testGetDefinition function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinition method with some plugins.
HookDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method with some plugins.
HookDiscoveryTest::testGetDefinitionsWithoutPlugins function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method without any plugins.
HookDiscoveryTest::testGetDefinitionWithUnknownID function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinition method with an unknown plugin ID.
LayoutDiscoveryDependenciesUpdateTest class core/modules/layout_discovery/tests/src/Functional/Update/LayoutDiscoveryDependenciesUpdateTest.php Tests the upgrade path for updating the layout discovery dependencies.
LayoutDiscoveryDependenciesUpdateTest.php file core/modules/layout_discovery/tests/src/Functional/Update/LayoutDiscoveryDependenciesUpdateTest.php
LayoutDiscoveryDependenciesUpdateTest::setDatabaseDumpFiles function core/modules/layout_discovery/tests/src/Functional/Update/LayoutDiscoveryDependenciesUpdateTest.php Set database dump files to be used.
LayoutDiscoveryDependenciesUpdateTest::testUpdatedLayoutDiscoveryDependencies function core/modules/layout_discovery/tests/src/Functional/Update/LayoutDiscoveryDependenciesUpdateTest.php Tests updating the dependencies for layout discovery based entity displays.
LayoutPluginManager::getDiscovery function core/lib/Drupal/Core/Layout/LayoutPluginManager.php Gets the plugin discovery.
layout_discovery.info.yml file core/modules/layout_discovery/layout_discovery.info.yml core/modules/layout_discovery/layout_discovery.info.yml
layout_discovery.install file core/modules/layout_discovery/layout_discovery.install Install, update, and uninstall functions for the Layout Discovery module.
layout_discovery.layouts.yml file core/modules/layout_discovery/layout_discovery.layouts.yml core/modules/layout_discovery/layout_discovery.layouts.yml
layout_discovery.libraries.yml file core/modules/layout_discovery/layout_discovery.libraries.yml core/modules/layout_discovery/layout_discovery.libraries.yml
layout_discovery.module file core/modules/layout_discovery/layout_discovery.module Provides hook implementations for Layout Discovery.
layout_discovery.post_update.php file core/modules/layout_discovery/layout_discovery.post_update.php Post update functions for layout discovery.
layout_discovery.services.yml file core/modules/layout_discovery/layout_discovery.services.yml core/modules/layout_discovery/layout_discovery.services.yml
layout_discovery_help function core/modules/layout_discovery/layout_discovery.module Implements hook_help().

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