You are here

protected function InPlaceUpdate::getQuasiPatchFileName in Automatic Updates 8

Get the quasi-patch file name.

Parameters

\Drupal\automatic_updates\UpdateMetadata $metadata: The update metadata.

Return value

string The quasi-patch file name.

1 call to InPlaceUpdate::getQuasiPatchFileName()
InPlaceUpdate::getArchive in src/Services/InPlaceUpdate.php
Get an archive with the quasi-patch contents.

File

src/Services/InPlaceUpdate.php, line 548

Class

InPlaceUpdate
Class to apply in-place updates.

Namespace

Drupal\automatic_updates\Services

Code

protected function getQuasiPatchFileName(UpdateMetadata $metadata) {
  return "{$metadata->getProjectName()}-{$metadata->getFromVersion()}-to-{$metadata->getToVersion()}.zip";
}