You are here

public function FileDirectorySource::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/Source/FileDirectorySource.php, line 38

Class

FileDirectorySource
Class FileDirectorySource.

Namespace

BackupMigrate\Core\Source

Code

public function supportedOps() {
  return [
    'exportToFile' => [],
    'importFromFile' => [],
  ];
}