You are here

function backup_migrate_destination_files_manual::__construct in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.file.inc \backup_migrate_destination_files_manual::__construct()
  2. 6.3 includes/destinations.file.inc \backup_migrate_destination_files_manual::__construct()
  3. 6.2 includes/destinations.file.inc \backup_migrate_destination_files_manual::__construct()
  4. 7.3 includes/destinations.file.inc \backup_migrate_destination_files_manual::__construct()
  5. 7.2 includes/destinations.file.inc \backup_migrate_destination_files_manual::__construct()

Constructor, set the basic info pulled from the db or generated programatically.

Overrides backup_migrate_item::__construct

File

includes/destinations.file.inc, line 263
A destination type for saving locally to the server.

Class

backup_migrate_destination_files_manual
The manual files directory.

Code

function __construct($params = array()) {
  $dir = 'private://backup_migrate/manual';
  parent::__construct($params + array(
    'location' => $dir,
    'name' => t('Manual Backups Directory'),
  ));
}