class DiscoveryTest1

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php \com\example\PluginNamespace\DiscoveryTest1
  2. 10 core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php \com\example\PluginNamespace\DiscoveryTest1
  3. 11.x core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php \com\example\PluginNamespace\DiscoveryTest1

Provides a custom test plugin.

Plugin annotation


@Plugin(
  id = "discovery_test_1"
)
@CustomPlugin(
  id = "discovery_test_1",
  title = "Discovery test plugin"
)

Hierarchy

Expanded class hierarchy of DiscoveryTest1

File

core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php, line 16

Namespace

com\example\PluginNamespace
View source
class DiscoveryTest1 {

}

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