function tfa_basic_library in TFA Basic plugins 7
Implements hook_library().
File
- ./
tfa_basic.module, line 18
Code
function tfa_basic_library() {
$items = array();
$items['qrcodejs'] = array(
'title' => 'QRCode.js',
'website' => 'https://github.com/davidshimjs/qrcodejs',
'version' => '1.0',
'js' => array(
drupal_get_path('module', 'tfa_basic') . '/includes/qrcodejs/qrcode.min.js' => array(),
),
);
return $items;
}