class CustomPlugin2
Same name in this branch
- 11.x core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Annotation\CustomPlugin2
- 11.x core/tests/fixtures/plugins/CustomPlugin.php \com\example\PluginNamespace\CustomPlugin2
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Annotation\CustomPlugin2
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Annotation\CustomPlugin2
- 10 core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Annotation\CustomPlugin2
- 10 core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php \com\example\PluginNamespace\CustomPlugin2
- 10 core/tests/fixtures/plugins/CustomPlugin.php \com\example\PluginNamespace\CustomPlugin2
Custom plugin attribute.
Hierarchy
- class \Drupal\Component\Plugin\Attribute\AttributeBase implements \Drupal\Component\Plugin\Attribute\AttributeInterface
- class \Drupal\Component\Plugin\Attribute\Plugin extends \Drupal\Component\Plugin\Attribute\AttributeBase
- class \com\example\PluginNamespace\CustomPlugin2 extends \Drupal\Component\Plugin\Attribute\Plugin
- class \Drupal\Component\Plugin\Attribute\Plugin extends \Drupal\Component\Plugin\Attribute\AttributeBase
Expanded class hierarchy of CustomPlugin2
File
-
core/
tests/ Drupal/ Tests/ Component/ Plugin/ Attribute/ Fixtures/ CustomPlugin.php, line 33
Namespace
com\example\PluginNamespaceView source
class CustomPlugin2 extends Plugin {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.