You are here

function asset_library in Asset 7

Implements hook_library().

File

./asset.module, line 702
Asset module.

Code

function asset_library() {
  $libraries['asset_tooltip'] = array(
    'title' => 'Asset tooltip library',
    'version' => '1.0',
    'js' => array(
      ASSET_MODULE_PATH . '/js/asset-tooltip.js' => array(),
    ),
    'css' => array(
      ASSET_MODULE_PATH . '/css/asset-tooltip.css' => array(),
    ),
  );
  $libraries['asset_tooltip_inner'] = array(
    'title' => 'Asset tooltip library for iframe',
    'version' => '1.0',
    'js' => array(
      ASSET_MODULE_PATH . '/js/asset-tooltip-inner.js' => array(),
    ),
    'css' => array(
      ASSET_MODULE_PATH . '/css/asset-tooltip-inner.css' => array(),
    ),
  );
  return $libraries;
}