function PluginID::get
Same name in this branch
- 10 core/lib/Drupal/Component/Plugin/Attribute/PluginID.php \Drupal\Component\Plugin\Attribute\PluginID::get()
Same name in other branches
- 9 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::get()
- 8.9.x core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::get()
- 11.x core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::get()
- 11.x core/lib/Drupal/Component/Plugin/Attribute/PluginID.php \Drupal\Component\Plugin\Attribute\PluginID::get()
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,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.