function _s3fs_amazons3_api_compatibility_submit in S3 File System 7
Supplemental submit callback for the "Save" button on the admin form.
Copies all s3fs_* variables to variables with amazons3_* names, in order to preserve API compatibility with AmazonS3. AmazonS3 can be found here: https://drupal.org/project/amazons3
1 string reference to '_s3fs_amazons3_api_compatibility_submit'
- s3fs_settings in ./
s3fs.admin.inc - Builds the Settings form.
File
- ./
s3fs.admin.inc, line 243 - Administration form setup for S3 File System.
Code
function _s3fs_amazons3_api_compatibility_submit($form, &$form_state) {
variable_set('amazons3_bucket', variable_get('s3fs_bucket'));
}