DiscoveryTest1.php

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

Namespace

com\example\PluginNamespace

File

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

View source
<?php

namespace com\example\PluginNamespace;


/**
 * Provides a custom test plugin.
 *
 * @Plugin(
 *   id = "discovery_test_1"
 * )
 * @CustomPlugin(
 *   id = "discovery_test_1",
 *   title = "Discovery test plugin"
 * )
 */
class DiscoveryTest1 {

}

Classes

Title Deprecated Summary
DiscoveryTest1 Provides a custom test plugin.

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