You are here

function photos_swfu_libraries_info in Album Photos 7.3

Implements hook_libraries_info().

File

photos_swfu/photos_swfu.module, line 79

Code

function photos_swfu_libraries_info() {
  $libraries['swfupload'] = array(
    'name' => 'SWFUpload',
    'vendor url' => 'http://code.google.com/p/swfupload/',
    'download url' => 'http://code.google.com/p/swfupload/downloads/list',
    'version arguments' => array(
      'file' => 'swfupload.js',
      'pattern' => '/SWFUpload.version \\= \\"([0-9.]{1,}) ([0-9-]{1,})\\"/',
      'lines' => 60,
    ),
    'files' => array(
      'js' => array(
        'swfupload.js',
        'plugins/swfupload.queue.js',
      ),
    ),
  );
  return $libraries;
}