You are here

public function FileDirectorySource::supportedOps in Backup and Migrate 5.0.x

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

src/Core/Source/FileDirectorySource.php, line 39

Class

FileDirectorySource
@package Drupal\backup_migrate\Core\Source

Namespace

Drupal\backup_migrate\Core\Source

Code

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