You are here

function beautytips_manager_library_info_build in BeautyTips 8

Implements hook_library_info_build().

File

beautytips_manager/beautytips_manager.module, line 64
Code related to defining and displaying custom beautytips and styles.

Code

function beautytips_manager_library_info_build() {

  // ColorPicker plugin.
  $libraries['colorpicker'] = [
    'title' => 'ColorPicker',
    'website' => 'http://www.eyecon.ro/colorpicker/',
    'version' => '',
    'js' => [
      '/' . drupal_get_path('module', 'beautytips') . '/other_libs/colorpicker/js/colorpicker.js' => [],
    ],
    'css' => [
      'theme' => [
        '/' . drupal_get_path('module', 'beautytips') . '/other_libs/colorpicker/css/colorpicker.css' => [],
      ],
    ],
  ];
  return $libraries;
}