You are here

function backup_migrate_schedule::get_default_values in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/schedules.inc \backup_migrate_schedule::get_default_values()
  2. 8.3 includes/schedules.inc \backup_migrate_schedule::get_default_values()
  3. 6.3 includes/schedules.inc \backup_migrate_schedule::get_default_values()
  4. 7.3 includes/schedules.inc \backup_migrate_schedule::get_default_values()
  5. 7.2 includes/schedules.inc \backup_migrate_schedule::get_default_values()

Get the default values for this item.

Overrides backup_migrate_item::get_default_values

File

includes/schedules.inc, line 65

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

function get_default_values() {
  return array(
    'name' => t("Untitled Schedule"),
    'source_id' => 'db',
    'enabled' => 1,
    'keep' => 0,
    'period' => 60 * 60 * 24,
    'storage' => BACKUP_MIGRATE_STORAGE_NONE,
  );
}