You are here

function commerce_stripe_pi_libraries_info in Commerce Stripe Payment Intent 7

Implements hook_libraries_info().

File

./commerce_stripe_pi.module, line 159
Payment intent stripe payment integration.

Code

function commerce_stripe_pi_libraries_info() {
  return array(
    'stripe-php' => array(
      'name' => 'Stripe API Client Library for PHP',
      'vendor url' => 'https://stripe.com/',
      'download url' => 'https://github.com/stripe/stripe-php',
      'dependencies' => array(),
      'version arguments' => array(
        'file' => 'VERSION',
        'pattern' => '/((\\d+)\\.(\\d+)\\.(\\d+))/',
        'lines' => 1,
        'cols' => 12,
      ),
      'files' => array(
        'php' => array(
          'init.php',
        ),
      ),
      'callbacks' => array(
        'post-load' => array(
          'commerce_stripe_pi_libraries_postload_callback',
        ),
      ),
    ),
  );
}