class Example1
Same name in other branches
- 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example1.php \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\Example1
- 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example1.php \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\Example1
- 11.x 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
7 string references to 'Example1'
- DefaultMenuLinkTreeManipulatorsTest::mockTree in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - Creates a mock tree.
- DefaultMenuLinkTreeManipulatorsTest::testCheckAccess in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - Tests the checkAccess() tree manipulator.
- MenuLinkTreeTest::providerTestBuildCacheability in core/
modules/ system/ tests/ src/ Unit/ Menu/ MenuLinkTreeTest.php - Provides the test cases to test for ::testBuildCacheability().
- MenuLinkTreeTest::testCreateLinksInMenu in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuLinkTreeTest.php - Tests creating links with an expected tree structure.
- NavigationMenuMarkupTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ NavigationMenuMarkupTest.php
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_annotationView source
class Example1 {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.