Implements \Drupal\Core\Annotation\AnnotationInterface::get().
Overrides AnnotationInterface::get
File
- drupal/core/lib/Drupal/Component/Annotation/PluginID.php, line 29
- Contains Drupal\Component\Annotation\PluginID.
Class
- PluginID
- Defines a Plugin annotation object that just contains an ID.
Namespace
Drupal\Component\Annotation
Code
public function get() {
return array(
'id' => $this->value,
);
}