class CustomPlugin2

Same name in this branch
  1. 10 core/tests/fixtures/plugins/CustomPlugin.php \com\example\PluginNamespace\CustomPlugin2
Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Annotation\CustomPlugin2
  2. 11.x core/tests/fixtures/plugins/CustomPlugin.php \com\example\PluginNamespace\CustomPlugin2
  3. 9 core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Annotation\CustomPlugin2
  4. 8.9.x core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Annotation\CustomPlugin2

Custom plugin annotation.

Hierarchy

Expanded class hierarchy of CustomPlugin2

Related topics

File

core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php, line 101

Namespace

Drupal\Tests\Component\Annotation
View source
class CustomPlugin2 extends Plugin {

}

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 5
Plugin::getClass public function 1
Plugin::getId public function
Plugin::getProvider public function 1
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function 1
Plugin::setProvider public function
Plugin::__construct public function Constructs a Plugin object. 2

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