You are here

public function TarArchiveWriter::getFileExt in Backup and Migrate 5.0.x

Get the file extension for this archiver.

For a tarball writer this would be 'tar'. For a Zip file writer this would be 'zip'.

Return value

string

Overrides ArchiveWriterInterface::getFileExt

File

src/Core/Service/TarArchiveWriter.php, line 27

Class

TarArchiveWriter
@package Drupal\backup_migrate\Core\Service

Namespace

Drupal\backup_migrate\Core\Service

Code

public function getFileExt() {
  return 'tar';
}