Update.php in Lightning Core 8
Same filename and directory in other branches
Namespace
Drupal\lightning_core\AnnotationFile
src/Annotation/Update.phpView 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();
}
}