You are here

class Example1 in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example1.php \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\Example1

Provides a test plugin with a custom annotation.

Plugin annotation


@PluginExample(
  id = "example_1",
  custom = "John"
)

Hierarchy

  • class \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\Example1

Expanded class hierarchy of Example1

File

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

Namespace

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

}

Members