public function PluginID::getId in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::getId()
- 9 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::getId()
Gets the unique ID for this annotated class.
Return value
string
Overrides AnnotationBase::getId
File
- core/
lib/ Drupal/ Component/ Annotation/ PluginID.php, line 35
Class
- PluginID
- Defines a Plugin annotation object that just contains an ID.
Namespace
Drupal\Component\AnnotationCode
public function getId() {
return $this->value;
}