function backup_migrate_schedule::is_enabled in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/schedules.inc \backup_migrate_schedule::is_enabled()
- 8.3 includes/schedules.inc \backup_migrate_schedule::is_enabled()
- 6.3 includes/schedules.inc \backup_migrate_schedule::is_enabled()
- 7.3 includes/schedules.inc \backup_migrate_schedule::is_enabled()
- 7.2 includes/schedules.inc \backup_migrate_schedule::is_enabled()
Is the schedule enabled and valid.
2 calls to backup_migrate_schedule::is_enabled()
- backup_migrate_schedule::cron in includes/
schedules.inc - Perform the cron action. Run the backup if enough time has elapsed.
- backup_migrate_schedule::get_list_row in includes/
schedules.inc - Get a row of data to be used in a list of items of this type.
File
- includes/
schedules.inc, line 110
Class
- backup_migrate_schedule
- A schedule class for crud operations.
Code
function is_enabled() {
$destination = $this
->get_destination();
$profile = $this
->get_profile();
return !empty($this->enabled) && !empty($destination) && !empty($profile);
}