You are here

public function PluginID::getId in Service Container 7

Same name and namespace in other branches
  1. 7.2 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

lib/Drupal/Component/Annotation/PluginID.php, line 40
Contains \Drupal\Component\Annotation\PluginID.

Class

PluginID
Defines a Plugin annotation object that just contains an ID.

Namespace

Drupal\Component\Annotation

Code

public function getId() {
  return $this->value;
}