You are here

public function PluginID::get in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::get()

Gets the value of an annotation.

Overrides AnnotationInterface::get

File

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,
    'class' => $this->class,
    'provider' => $this->provider,
  );
}