You are here

function tcpdf_libraries_info in TCPDF 7

Implements hook_libraries_info().

File

./tcpdf.module, line 10
TCPDF module provides an API to use TCPDF in Drupal environment.

Code

function tcpdf_libraries_info() {
  $libraries['tcpdf'] = array(
    'name' => 'TCPDF',
    'vendor url' => 'http://www.tcpdf.org/',
    'download url' => 'https://sourceforge.net/projects/tcpdf/files/',
    'version arguments' => array(
      'file' => 'CHANGELOG.TXT',
      'pattern' => '/([0-9\\.]+)/',
      'lines' => 1,
    ),
    'files' => array(
      'php' => array(
        'tcpdf.php',
      ),
    ),
  );
  return $libraries;
}