class PluginStub
Same name in this branch
- 11.x core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php \Drupal\Tests\Component\Plugin\Attribute\PluginStub
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Annotation/PluginTest.php \Drupal\Tests\Component\Annotation\PluginStub
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/PluginTest.php \Drupal\Tests\Component\Annotation\PluginStub
- 10 core/tests/Drupal/Tests/Component/Annotation/PluginTest.php \Drupal\Tests\Component\Annotation\PluginStub
- 10 core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php \Drupal\Tests\Component\Plugin\Attribute\PluginStub
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements \Drupal\Component\Annotation\AnnotationInterface
- class \Drupal\Tests\Component\Annotation\PluginStub extends \Drupal\Component\Annotation\Plugin
Expanded class hierarchy of PluginStub
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ PluginTest.php, line 99
Namespace
Drupal\Tests\Component\AnnotationView source
class PluginStub extends Plugin {
protected $defaultProperty = 'test_value';
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
Plugin::$definition | protected | property | The plugin definition read from the class annotation. | 1 | |
Plugin::get | public | function | Overrides AnnotationInterface::get | 6 | |
Plugin::getClass | public | function | Overrides AnnotationInterface::getClass | 1 | |
Plugin::getId | public | function | Overrides AnnotationInterface::getId | ||
Plugin::getProvider | public | function | Overrides AnnotationInterface::getProvider | 1 | |
Plugin::parse | protected | function | Parses an annotation into its definition. | ||
Plugin::setClass | public | function | Overrides AnnotationInterface::setClass | 1 | |
Plugin::setProvider | public | function | Overrides AnnotationInterface::setProvider | ||
Plugin::__construct | public | function | Constructs a Plugin object. | 3 | |
PluginStub::$defaultProperty | protected | property |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.