You are here

function vbo_export_libraries_info in VBO export 7

Implements hook_libraries_info().

File

./vbo_export.module, line 215
Provides VBO action to create a csv based on returned results.

Code

function vbo_export_libraries_info() {
  $libraries['PHPExcel'] = array(
    'name' => 'PHPExcel',
    'vendor url' => 'https://github.com/PHPOffice/PHPExcel',
    'download url' => 'https://github.com/PHPOffice/PHPExcel/releases',
    'path' => 'Classes',
    'version arguments' => array(
      'file' => 'changelog.txt',
      // 1.8.x: Version 1.8.0.
      'pattern' => '/\\d{4}-\\d{2}-\\d{2} \\(v(\\d+\\.\\d+\\.\\d+)\\):/',
      'lines' => 30,
    ),
    'files' => array(
      'php' => array(
        'PHPExcel.php',
      ),
    ),
  );
  return $libraries;
}