You are here

public function Notify::supportedOps in Backup and Migrate 8.4

Add a weight so that our before* operations run before any other plugin has a chance to write any log entries.

Return value

array

Overrides PluginBase::supportedOps

File

lib/backup_migrate_core/src/Filter/Notify.php, line 27

Class

Notify
Class Notify

Namespace

BackupMigrate\Core\Filter

Code

public function supportedOps() {
  return [
    'beforeBackup' => [
      'weight' => -100000,
    ],
    'beforeRestore' => [
      'weight' => -100000,
    ],
  ];
}