function uc_stripe_libraries_info in Ubercart Stripe 7
Same name and namespace in other branches
- 7.3 uc_stripe.module \uc_stripe_libraries_info()
- 7.2 uc_stripe.module \uc_stripe_libraries_info()
Implements hook_library_info().
File
- ./
uc_stripe.module, line 11 - A module used for processing payments with Stripe.
Code
function uc_stripe_libraries_info() {
$libraries = array();
$libraries['stripe-php'] = array(
'name' => 'Stripe PHP',
'vendor url' => 'https://stripe.com',
'download url' => 'https://stripe.com/docs/libraries',
'path' => 'lib',
'version arguments' => array(
'file' => 'VERSION',
'pattern' => '/(.*)/',
'lines' => 1,
),
'files' => array(
'php' => array(
'Stripe.php',
),
),
);
return $libraries;
}