function backup_migrate_filter_backup_restore::before_action_form_submit in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/filters.backup_restore.inc \backup_migrate_filter_backup_restore::before_action_form_submit()
- 7.3 includes/filters.backup_restore.inc \backup_migrate_filter_backup_restore::before_action_form_submit()
Get the before-backup form for the active sources and destinations.
File
- includes/
filters.backup_restore.inc, line 153 - This filter performs tha actual backup or restore operation. Not technically a filter per-se, but it does need to fit in the call chain.
Class
- backup_migrate_filter_backup_restore
- A filter backup or migrate the specified source.
Code
function before_action_form_submit($op, $settings, $form, $form_state) {
$method = 'before_' . $op . '_form_submit';
foreach ($settings
->get_all_locations() as $location) {
if (method_exists($location, $method)) {
$location
->{$method}($settings, $form, $form_state);
}
}
}