You are here

function qtip_library in qTip (Stylish jQuery Tooltips) 7.2

Same name and namespace in other branches
  1. 7 qtip.module \qtip_library()

Implements hook_library().

File

./qtip.module, line 330

Code

function qtip_library() {
  $libraries['qtip'] = _qtip_convert_libraries_to_library(libraries_detect('qtip'), array(
    'css' => array(
      'type' => 'file',
      'media' => 'screen',
    ),
    'js' => array(
      'group' => JS_LIBRARY,
    ),
  ));
  if (!empty($libraries['qtip'])) {
    $libraries['library']['dependencies'][] = array(
      'dnd',
      'qtip',
    );
  }
  return $libraries;
}