You are here

function s3fs_settings_validate in S3 File System 7

Same name and namespace in other branches
  1. 7.3 s3fs.admin.inc \s3fs_settings_validate()
  2. 7.2 s3fs.admin.inc \s3fs_settings_validate()

Validates the values on the admin form.

File

./s3fs.admin.inc, line 229
Administration form setup for S3 File System.

Code

function s3fs_settings_validate($form, &$form_state) {
  $config = _s3fs_get_config();
  $values = _s3fs_convert_form_state_to_config($form_state);
  $config = array_merge($config, $values);
  _s3fs_validate_config($config);
}