You are here

function amazons3_stream_wrappers in AmazonS3 7

Same name and namespace in other branches
  1. 7.2 amazons3.module \amazons3_stream_wrappers()

Implements hook_stream_wrappers().

Create a stream wrapper for S3.

File

./amazons3.module, line 13
Provides S3 stream wrapper

Code

function amazons3_stream_wrappers() {
  return array(
    's3' => array(
      'name' => 'Amazon S3',
      'class' => 'AmazonS3StreamWrapper',
      'description' => t('Amazon Simple Storage Service'),
    ),
  );
}