You are here

function s3fs_stream_wrappers in S3 File System 7.2

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

Implements hook_stream_wrappers().

Defines the s3:// stream wrapper.

File

./s3fs.module, line 21
Hook implementations and other primary functionality for S3 File System.

Code

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