class CustomDirectoryExample1

Same name in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php \Drupal\plugin_test\CustomDirectoryExample1
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php \Drupal\plugin_test\CustomDirectoryExample1
  3. 10 core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php \Drupal\plugin_test\CustomDirectoryExample1

Provides a test plugin within a custom directory.

Plugin annotation


@Plugin(
  id = "custom_example_1",
  custom = "Tim"
)

Hierarchy

Expanded class hierarchy of CustomDirectoryExample1

File

core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php, line 15

Namespace

Drupal\plugin_test
View source
class CustomDirectoryExample1 {

}

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