PluginExample::$id

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/Annotation/PluginExample.php \Drupal\plugin_test\Plugin\Annotation\PluginExample::id
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/Annotation/PluginExample.php \Drupal\plugin_test\Plugin\Annotation\PluginExample::id
  3. 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/Annotation/PluginExample.php \Drupal\plugin_test\Plugin\Annotation\PluginExample::id

The plugin ID.

Type: string

Overrides AnnotationBase::$id

File

core/modules/system/tests/modules/plugin_test/src/Plugin/Annotation/PluginExample.php, line 19

Class

PluginExample
Defines a custom Plugin annotation.

Namespace

Drupal\plugin_test\Plugin\Annotation

Code

public $id;

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