You are here

function backup_migrate_location::can_read_file in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 includes/locations.inc \backup_migrate_location::can_read_file()
  2. 7.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 264

Class

backup_migrate_location
A base class for creating locations.

Code

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