Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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 Defines the minimum requirements for 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
discoverytest2.yml file core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/discoverytest2.yml core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/discoverytest2.yml
DiscoveryTestBase class core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php Base class for plugin discovery tests.
DiscoveryTestBase.php file core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php
DiscoveryTestBase::$discovery property core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php The discovery component to test.
DiscoveryTestBase::$emptyDiscovery property core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php An empty discovery component.
DiscoveryTestBase::$expectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php The plugin definitions the discovery component is expected to discover.
DiscoveryTestBase::assertDefinitionIdentical function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php Asserts a definition against an expected definition.
DiscoveryTestBase::testDiscoveryInterface function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php Tests getDefinitions() and getDefinition().
DiscoveryTrait trait core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTrait.php file core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTrait::doGetDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php Gets a specific plugin definition.
DiscoveryTrait::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTrait::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTrait::hasDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTraitTest class core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @group Plugin
@coversDefaultClass \Drupal\Component\Plugin\Discovery\DiscoveryTrait[[api-linebreak]]
DiscoveryTraitTest.php file core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php
DiscoveryTraitTest::providerDoGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php Data provider for testDoGetDefinition().
DiscoveryTraitTest::providerDoGetDefinitionException function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php Data provider for testDoGetDefinitionException()
DiscoveryTraitTest::providerHasDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php Data provider for testHasDefinition().
DiscoveryTraitTest::testDoGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::doGetDefinition[[api-linebreak]]
@dataProvider providerDoGetDefinition
DiscoveryTraitTest::testDoGetDefinitionException function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::doGetDefinition[[api-linebreak]]
@dataProvider providerDoGetDefinitionException
@uses \Drupal\Component\Plugin\Exception\PluginNotFoundException
DiscoveryTraitTest::testGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::getDefinition[[api-linebreak]]
@dataProvider providerDoGetDefinition
DiscoveryTraitTest::testGetDefinitionException function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::getDefinition[[api-linebreak]]
@dataProvider providerDoGetDefinitionException
@uses \Drupal\Component\Plugin\Exception\PluginNotFoundException
DiscoveryTraitTest::testHasDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::hasDefinition[[api-linebreak]]
@dataProvider providerHasDefinition
Display class core/modules/views_ui/src/Form/Ajax/Display.php Provides a form for editing the Views display.
Display.php file core/modules/views_ui/src/Form/Ajax/Display.php
Display::buildForm function core/modules/views_ui/src/Form/Ajax/Display.php Form constructor.
Display::getForm function core/modules/views_ui/src/Form/Ajax/Display.php Creates a new instance of this form.
Display::getFormId function core/modules/views_ui/src/Form/Ajax/Display.php Returns a unique string identifying the form.
Display::getFormKey function core/modules/views_ui/src/Form/Ajax/Display.php Returns the key that represents this form.
Display::getFormState function core/modules/views_ui/src/Form/Ajax/Display.php @todo Remove this and switch all usage of $form_state->get('section') to
$form_state->get('type').
Display::submitForm function core/modules/views_ui/src/Form/Ajax/Display.php Form submission handler.
Display::validateForm function core/modules/views_ui/src/Form/Ajax/Display.php Form validation handler.
Display::__construct function core/modules/views_ui/src/Form/Ajax/Display.php Constructs a new Display object.
DisplayApiTest class core/modules/field/tests/src/Kernel/DisplayApiTest.php Tests the field display API.
DisplayApiTest.php file core/modules/field/tests/src/Kernel/DisplayApiTest.php
DisplayApiTest::$cardinality property core/modules/field/tests/src/Kernel/DisplayApiTest.php The field cardinality to use in this test.
DisplayApiTest::$displayOptions property core/modules/field/tests/src/Kernel/DisplayApiTest.php The field display options to use in this test.
DisplayApiTest::$entity property core/modules/field/tests/src/Kernel/DisplayApiTest.php The test entity.
DisplayApiTest::$fieldName property core/modules/field/tests/src/Kernel/DisplayApiTest.php The field name to use in this test.
DisplayApiTest::$label property core/modules/field/tests/src/Kernel/DisplayApiTest.php The field label to use in this test.

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