backup_migrate_files.module in Backup and Migrate Files 7
Enable backup of files with backup and migrate.
File
backup_migrate_files.moduleView source
<?php
/**
* @file
* Enable backup of files with backup and migrate.
*/
/* Drupal Hooks */
/**
* Implements hook_backup_migrate_destination_types().
*
* Get the built in Backup and Migrate file source type.
*/
function backup_migrate_files_backup_migrate_destination_types() {
$out = array();
$out += array(
'filesource' => array(
'description' => t('A files directory which can be backed up from.'),
'file' => drupal_get_path('module', 'backup_migrate_files') . '/includes/destinations.filesource.inc',
'class' => 'backup_migrate_files_destination_filesource',
'type_name' => t('File Directory'),
'can_create' => TRUE,
),
);
return $out;
}
Functions
Name![]() |
Description |
---|---|
backup_migrate_files_backup_migrate_destination_types | Implements hook_backup_migrate_destination_types(). |