function s3fs_copy_system_images_confirm_form_submit in S3 File System 7.3
Same name and namespace in other branches
- 7.2 s3fs.module \s3fs_copy_system_images_confirm_form_submit()
1 string reference to 's3fs_copy_system_images_confirm_form_submit'
File
- ./
s3fs.module, line 1005 - Hook implementations and other primary functionality for S3 File System.
Code
function s3fs_copy_system_images_confirm_form_submit($form, &$form_state) {
$wrapper = $form_state['build_info']['system_stream_wrapper'];
$directories = $form_state['build_info']['system_image_directories'];
s3fs_copy_system_images_batch_set($wrapper, $directories);
drupal_set_message(t('Copying of system images from modules, themes, and libraries to S3 is complete.'));
$form_state['redirect'] = array(
'path' => 'admin/config/media/s3fs/actions',
);
}