AnnotatedClassDiscovery::$pluginDefinitionAnnotationName

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::pluginDefinitionAnnotationName
  2. 10 core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::pluginDefinitionAnnotationName
  3. 11.x core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::pluginDefinitionAnnotationName

The name of the annotation that contains the plugin definition.

The class corresponding to this name must implement \Drupal\Component\Annotation\AnnotationInterface.

Type: string

File

core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php, line 37

Class

AnnotatedClassDiscovery
Defines a discovery mechanism to find annotated plugins in PSR-4 namespaces.

Namespace

Drupal\Component\Annotation\Plugin\Discovery

Code

protected $pluginDefinitionAnnotationName;

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