You are here

function s3fs_stream_wrappers in S3 File System 7

Same name and namespace in other branches
  1. 7.3 s3fs.module \s3fs_stream_wrappers()
  2. 7.2 s3fs.module \s3fs_stream_wrappers()

Implements hook_stream_wrappers().

Defines the s3:// stream wrapper.

File

./s3fs.module, line 23
Sets up the S3fsStreamWrapper class to be used as a Drupal file system.

Code

function s3fs_stream_wrappers() {
  return array(
    's3' => array(
      'name' => 'S3 File System',
      'class' => 'S3fsStreamWrapper',
      'description' => t('Amazon Simple Storage Service'),
    ),
  );
}