You are here

public function DrupalEncrypt::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/Drupal/Filter/DrupalEncrypt.php, line 124

Class

DrupalEncrypt
@package Drupal\backup_migrate\Drupal\Filter

Namespace

Drupal\backup_migrate\Drupal\Filter

Code

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