You are here

function s3fs_cors_help in S3 File System CORS Upload 8

Same name and namespace in other branches
  1. 7 s3fs_cors.module \s3fs_cors_help()

Implements hook_help().

File

./s3fs_cors.module, line 15
Allow uploading of files directly to AmazonS3 via the browser using CORS.

Code

function s3fs_cors_help($path, $arg) {
  if ($path == 'admin/config/media/s3fs/cors') {
    $msg = t("Configure your S3 Bucket's CORS configuration from this page.\n      Please be aware that submitting this form will <b>overwrite</b> your bucket's current CORS config.<br>\n      So if you intend to configure your bucket's CORS policy manually, <b>never submit this form</b>.");
    return "<p>{$msg}</p>";
  }
}