You are here

public function backup_migrate_location::op in Backup and Migrate 7.3

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

Does this location support the given operation.

7 calls to backup_migrate_location::op()
backup_migrate_destination::can_delete_file in includes/destinations.inc
Determine if we can read the given file.
backup_migrate_destination::can_read_file in includes/destinations.inc
Determine if we can read the given file.
backup_migrate_destination::get_action_links in includes/destinations.inc
Get the action links for a destination.
backup_migrate_destination::get_remote in includes/destinations.inc
Get a boolean representing if the destination is remote or local.
backup_migrate_destination_files::can_read_file in includes/destinations.file.inc
Determine if we can read the given file.

... See full list

File

includes/locations.inc, line 119

Class

backup_migrate_location
A base class for creating locations.

Code

public function op($op) {
  $ops = (array) $this
    ->ops();
  return in_array($op, $ops);
}