public function UpdateMetadata::setToVersion in Automatic Updates 8
Set the desired next project version.
Parameters
string $toVersion: The desired next project version.
Return value
\Drupal\automatic_updates\UpdateMetadata The update metadata.
File
- src/
UpdateMetadata.php, line 148
Class
- UpdateMetadata
- Transfer object to encapsulate the details for an update.
Namespace
Drupal\automatic_updatesCode
public function setToVersion($toVersion) {
$this->toVersion = $toVersion;
return $this;
}