Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\Example2
  2. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\Example2

Provides a test plugin with a custom annotation.

Plugin annotation


@PluginExample(
  id = "example_2",
  custom = "Paul"
)

Hierarchy

  • class \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\Example2

Expanded class hierarchy of Example2

File

core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php, line 13

Namespace

Drupal\plugin_test\Plugin\plugin_test\custom_annotation
View source
class Example2 {

}

Members