You are here

public function TarArchiveReader::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 ArchiveReaderInterface::getFileExt

File

src/Core/Service/TarArchiveReader.php, line 28

Class

TarArchiveReader
@package Drupal\backup_migrate\Core\Service

Namespace

Drupal\backup_migrate\Core\Service

Code

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