You are here

public function BackupMigrateDestinationFake::op in Backup and migrate prune 7

Same name and namespace in other branches
  1. 7.2 backup_migrate_prune.test \BackupMigrateDestinationFake::op()

Overwrites op to support fake deletions

File

./backup_migrate_prune.test, line 173
Test implementation file

Class

BackupMigrateDestinationFake
Fake destination for test purposes

Code

public function op($operation) {
  if ($operation == 'delete') {
    return TRUE;
  }
  return parent::op($operation);
}