You are here

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

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 src/Core/File/BackupFile.php
Get the full file extension.
BackupFile::getFullName in src/Core/File/BackupFile.php
Get the full filename with extensions.

File

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

Class

BackupFile
@package Drupal\backup_migrate\Core\File

Namespace

Drupal\backup_migrate\Core\File

Code

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