You are here

public function Update::getId in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update::getId()
  2. 8.2 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update::getId()
  3. 8.3 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update::getId()
  4. 8.4 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update::getId()

Gets the unique ID for this annotated class.

Return value

string

Overrides PluginID::getId

File

src/Annotation/Update.php, line 17

Class

Update
Defines a plugin annotation that contains only a target version number.

Namespace

Drupal\lightning_core\Annotation

Code

public function getId() {
  return $this
    ->getProvider() . ':' . parent::getId();
}