function backup_migrate_create_destination in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_create_destination()
- 8.3 includes/destinations.inc \backup_migrate_create_destination()
- 6.3 includes/destinations.inc \backup_migrate_create_destination()
- 6.2 includes/destinations.inc \backup_migrate_create_destination()
- 7.2 includes/destinations.inc \backup_migrate_create_destination()
Create a destination object of the given type with the given params.
5 calls to backup_migrate_create_destination()
- backup_migrate_backup_migrate_destinations in includes/
destinations.inc - Implements hook_backup_migrate_destinations().
- backup_migrate_destination_db_mysql::destinations in includes/
destinations.db.mysql.inc - Declare any mysql databases defined in the settings.php file as a possible destination.
- backup_migrate_destination_filesource::sources in includes/
sources.filesource.inc - Declares the current files directory as a backup source..
- backup_migrate_files_destination_archivesource::sources in includes/
sources.archivesource.inc - Declares the current files directory as a backup source..
- backup_migrate_source_db_mysql::sources in includes/
sources.db.mysql.inc - Declare any mysql databases defined in the settings.php file as a possible source.
File
- includes/
destinations.inc, line 162
Code
function backup_migrate_create_destination($destination_type, $params = array()) {
$params['subtype'] = $destination_type;
return backup_migrate_crud_create_item('destination', $params);
}