function backup_migrate_schedule::get_default_values

cis7 schedules.inc backup_migrate_schedule::get_default_values()
cle7 schedules.inc backup_migrate_schedule::get_default_values()
elmsmedia7 schedules.inc backup_migrate_schedule::get_default_values()
icor7 schedules.inc backup_migrate_schedule::get_default_values()
meedjum_blog7 schedules.inc backup_migrate_schedule::get_default_values()
mooc7 schedules.inc backup_migrate_schedule::get_default_values()

Get the default values for this item.

Overrides backup_migrate_item::get_default_values

File

sites/all/modules/ulmus/backup_migrate/includes/schedules.inc, line 65
All of the schedule handling code needed for Backup and Migrate.

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,
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.