class 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
10 string references to 'Example2'
- 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.
- LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithUpcastedParameters in core/tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php 
- Tests the getRouteParameters method for a route with upcasted parameters.
- LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithUpcastedParametersEmptyRawParameters in core/tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php 
- Tests the getRouteParameters method for a route with upcasted parameters.
- MenuLinkTreeTest::testCreateLinksInMenu in core/tests/ Drupal/ KernelTests/ Core/ Menu/ MenuLinkTreeTest.php 
- Tests creating links with an expected tree structure.
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_annotationView source
class Example2 {
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
