function PluginID::get
Same name in this branch
- 10 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\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 AttributeBase::get
File
-
core/
lib/ Drupal/ Component/ Plugin/ Attribute/ PluginID.php, line 14
Class
- PluginID
- Defines a Plugin attribute object that just contains an ID.
Namespace
Drupal\Component\Plugin\AttributeCode
public function get() : array {
return [
'id' => $this->getId(),
'class' => $this->getClass(),
'provider' => $this->getProvider(),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.