You are here

public function BackupFile::getExt in Backup and Migrate 5.0.x

Get the full file extension.

For example: testfile.txt.gz would return: 'txt.gz'

Return value

mixed

Overrides BackupFileInterface::getExt

File

src/Core/File/BackupFile.php, line 143

Class

BackupFile
@package Drupal\backup_migrate\Core\File

Namespace

Drupal\backup_migrate\Core\File

Code

public function getExt() {
  return implode('.', $this
    ->getExtList());
}