You are here

function s3fs_libraries_info in S3 File System 7

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

Implements hook_libraries_info()

File

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

Code

function s3fs_libraries_info() {
  return array(
    'awssdk2' => array(
      'title' => 'AWS SDK for PHP',
      'vendor url' => 'http://docs.aws.amazon.com/aws-sdk-php/guide/latest/index.html',
      'download url' => 'https://github.com/aws/aws-sdk-php/releases/download/2.4.10/aws.zip',
      'version arguments' => array(
        'file' => 'Aws/Common/Aws.php',
        'pattern' => "/const VERSION = '(.*)';/",
        'lines' => 200,
      ),
      'files' => array(
        'php' => array(
          'aws-autoloader.php',
        ),
      ),
    ),
  );
}