You are here

function s3fs_copy_system_images_confirm_form_submit in S3 File System 7.2

Same name and namespace in other branches
  1. 7.3 s3fs.module \s3fs_copy_system_images_confirm_form_submit()
1 string reference to 's3fs_copy_system_images_confirm_form_submit'
s3fs_copy_system_images_confirm_form in ./s3fs.module

File

./s3fs.module, line 1025
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',
  );
}