class PluginStub

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Component/Annotation/PluginTest.php \Drupal\Tests\Component\Annotation\PluginStub
  2. 11.x core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php \Drupal\Tests\Component\Plugin\Attribute\PluginStub

Hierarchy

Expanded class hierarchy of PluginStub

File

core/tests/Drupal/Tests/Component/Annotation/PluginTest.php, line 97

Namespace

Drupal\Tests\Component\Annotation
View source
class PluginStub extends Plugin {
  protected $defaultProperty = 'testvalue';

}

Members

Title Sort descending Modifiers Object type Summary Overrides
Plugin::$definition protected property The plugin definition read from the class annotation.
Plugin::get public function 2
Plugin::get public function 2
Plugin::getClass public function
Plugin::getId public function
Plugin::getProvider public function
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function
Plugin::setProvider public function
Plugin::__construct public function Constructs a Plugin object. 1
Plugin::__construct public function Constructs a Plugin object. 1
PluginStub::$defaultProperty protected property

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