Same filename in this branch
- 10 core/lib/Drupal/Component/Annotation/PluginID.php
- 10 core/lib/Drupal/Component/Plugin/Attribute/PluginID.php
Same filename and directory in other branches
- 8.9.x core/lib/Drupal/Component/Annotation/PluginID.php
- 9 core/lib/Drupal/Component/Annotation/PluginID.php
Namespace
Drupal\Component\Annotation
File
core/lib/Drupal/Component/Annotation/PluginID.php
View source
<?php
namespace Drupal\Component\Annotation;
class PluginID extends AnnotationBase {
public $value;
public function get() {
return [
'id' => $this->value,
'class' => $this->class,
'provider' => $this->provider,
];
}
public function getId() {
return $this->value;
}
}
Classes
Name |
Description |
PluginID |
Defines a Plugin annotation object that just contains an ID. |