You are here

Update.php in Lightning Core 8.2

File

src/Annotation/Update.php
View source
<?php

namespace Drupal\lightning_core\Annotation;

use Drupal\Component\Annotation\PluginID;

/**
 * Defines a plugin annotation that contains only a target version number.
 *
 * @Annotation
 */
class Update extends PluginID {

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

}

Classes

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