public function PluginID::get in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::get()
- 9 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::get()
Gets the value of an annotation.
Overrides AnnotationInterface::get
File
- core/
lib/ Drupal/ Component/ Annotation/ PluginID.php, line 24
Class
- PluginID
- Defines a Plugin annotation object that just contains an ID.
Namespace
Drupal\Component\AnnotationCode
public function get() {
return [
'id' => $this->value,
'class' => $this->class,
'provider' => $this->provider,
];
}