You are here

private function video_s3::isValidBucketName in Video 6.4

Same name and namespace in other branches
  1. 6.5 plugins/video_s3/filesystem/video_s3.inc \video_s3::isValidBucketName()
2 calls to video_s3::isValidBucketName()
video_s3::admin_settings in plugins/video_s3/filesystem/video_s3.inc
video_s3::admin_settings_validate in plugins/video_s3/filesystem/video_s3.inc

File

plugins/video_s3/filesystem/video_s3.inc, line 279

Class

video_s3

Code

private function isValidBucketName($name) {
  return preg_match('/^[a-z0-9.-]+$/', $name);
}