function backup_migrate_s3_libraries_info in Backup and Migrate S3 7
File
- ./
backup_migrate_s3.module, line 24 - Functions to define the S3 backup destination.
Code
function backup_migrate_s3_libraries_info() {
// A library that (naturally) evolves over time with API changes.
$libraries['aws-sdk-php'] = array(
'name' => 'AWS SDK for PHP',
'vendor url' => 'http://aws.amazon.com/sdkforphp',
'download url' => 'https://github.com/aws/aws-sdk-php/releases',
'version arguments' => array(
// It can be easier to parse the first characters of a minified file
// instead of doing a multi-line pattern matching in a source file. See
// 'lines' and 'cols' below.
'file' => 'CHANGELOG.md',
// Best practice: Document the actual version strings for later reference.
// 2.x: this.majorVersion="2";this.minorVersion="1.3"
// 3.x: majorVersion:'3',minorVersion:'2.0.1'
'pattern' => '@## (\\d+\\.\\d+\\.\\d+)@',
),
// Default list of files of the library to load. Important: Only specify
// third-party files belonging to the library here, not integration files of
// your module.
'files' => array(
// For PHP libraries, specify include files here, still relative to the
// library path.
'php' => array(
'aws-autoloader.php',
),
),
);
return $libraries;
}