function floating_block_library_info in Floating block 8
Implements hook_library_info().
File
- ./
floating_block.module, line 105 - The floating_block module allows parts of the site to stay on the page when scrolling.
Code
function floating_block_library_info() {
$libraries['floating_block'] = array(
'title' => 'Floating Block',
'version' => 0.1,
'js' => array(
drupal_get_path('module', 'floating_block') . '/floating_block.js' => array(),
),
'dependencies' => array(
array(
'system',
'jquery',
),
array(
'system',
'drupalSettings',
),
),
);
return $libraries;
}