You are here

public function backup_migrate_destination::can_read_file in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \backup_migrate_destination::can_read_file()
  2. 8.3 includes/destinations.inc \backup_migrate_destination::can_read_file()
  3. 6.3 includes/destinations.inc \backup_migrate_destination::can_read_file()
  4. 6.2 includes/destinations.inc \backup_migrate_destination::can_read_file()
  5. 7.2 includes/destinations.inc \backup_migrate_destination::can_read_file()

Determine if we can read the given file.

Overrides backup_migrate_location::can_read_file

1 call to backup_migrate_destination::can_read_file()
backup_migrate_destination::get_file_links in includes/destinations.inc
Get the action links for a file on a given destination.
1 method overrides backup_migrate_destination::can_read_file()
backup_migrate_destination_files::can_read_file in includes/destinations.file.inc
Determine if we can read the given file.

File

includes/destinations.inc, line 1152

Class

backup_migrate_destination
A base class for creating destinations.

Code

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