You are here

public function CompressionFilter::supportedOps in Backup and Migrate 8.4

Get a list of supported operations and their weight.

An array of operations should take the form:

[ 'backup' => ['weight' => 100], 'restore' => ['weight' => -100], ];

Return value

array

Overrides PluginBase::supportedOps

File

lib/backup_migrate_core/src/Filter/CompressionFilter.php, line 30

Class

CompressionFilter
Class CompressionFilter.

Namespace

BackupMigrate\Core\Filter

Code

public function supportedOps() {
  return [
    'getFileTypes' => [],
    'backupSettings' => [],
    'afterBackup' => [
      'weight' => 100,
    ],
    'beforeRestore' => [
      'weight' => -100,
    ],
  ];
}