You are here

backup_migrate_dropbox.module in Backup and Migrate Dropbox 7

Functions to define the dropbox backup destination.

File

backup_migrate_dropbox.module
View source
<?php

/**
 * @file
 * Functions to define the dropbox backup destination.
 */

/**
 * Implements hook_backup_migrate_destination_subtypes().
 */
function backup_migrate_dropbox_backup_migrate_destination_subtypes() {
  return array(
    'dropbox' => array(
      'type_name' => t('Dropbox'),
      'description' => t('Save the backup files to a !link account.', array(
        '!link' => l(t('Dropbox'), 'http://www.dropbox.com/'),
      )),
      'file' => drupal_get_path('module', 'backup_migrate_dropbox') . '/destinations.dropbox.inc',
      'class' => 'backup_migrate_destination_dropbox',
      'can_create' => TRUE,
      'remote' => TRUE,
    ),
  );
}

Functions

Namesort descending Description
backup_migrate_dropbox_backup_migrate_destination_subtypes Implements hook_backup_migrate_destination_subtypes().