You are here

public function BackupFile::getExtList in Backup and Migrate 8.4

Get an array of file extensions.

For example: testfile.txt.gz would return: ['txt', 'gz']

Return value

array

Overrides BackupFileInterface::getExtList

2 calls to BackupFile::getExtList()
BackupFile::getExt in lib/backup_migrate_core/src/File/BackupFile.php
Get the full file extension.
BackupFile::getFullName in lib/backup_migrate_core/src/File/BackupFile.php
Get the full filename with extensions.

File

lib/backup_migrate_core/src/File/BackupFile.php, line 128

Class

BackupFile
Class BackupFile.

Namespace

BackupMigrate\Core\File

Code

public function getExtList() {
  return $this->ext;
}