You are here

public function backup_migrate_location::can_read_file in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/locations.inc \backup_migrate_location::can_read_file()
  2. 6.3 includes/locations.inc \backup_migrate_location::can_read_file()

Determine if we can read the given file.

1 method overrides backup_migrate_location::can_read_file()
backup_migrate_destination::can_read_file in includes/destinations.inc
Determine if we can read the given file.

File

includes/locations.inc, line 287

Class

backup_migrate_location
A base class for creating locations.

Code

public function can_read_file($file_id) {
  return $this
    ->op('restore');
}