You are here

function rlayout_library_info in Layout 8

Implements hook_library_info().

File

./rlayout.module, line 179
Responsive layout builder tool for Panels.

Code

function rlayout_library_info() {
  $path = drupal_get_path('module', 'rlayout');
  $rld_path = $path . '/designer';
  $libraries['rlayout-designer'] = array(
    'title' => 'Responsive layout designer',
    'version' => '0.1',
    'js' => array(
      $rld_path . '/assets/js/plugins/breakup/jquery.breakup.js' => array(),
      $rld_path . '/app/main.js' => array(),
      $rld_path . '/app/libs/Utils/Utils.js' => array(),
      $rld_path . '/app/libs/LayoutManager/LayoutManager.js' => array(),
      $rld_path . '/app/libs/LayoutPreviewer/LayoutPreviewer.js' => array(),
      $rld_path . '/app/libs/LayoutList/LayoutList.js' => array(),
      $rld_path . '/app/libs/LayoutStep/LayoutStep.js' => array(),
      $rld_path . '/app/libs/StepManager/StepManager.js' => array(),
      $rld_path . '/app/libs/StepList/StepList.js' => array(),
      $rld_path . '/app/libs/Step/Step.js' => array(),
      $rld_path . '/app/libs/RegionList/RegionList.js' => array(),
      $rld_path . '/app/libs/Region/Region.js' => array(),
      $rld_path . '/app/libs/GridList/GridList.js' => array(),
      $rld_path . '/app/libs/Grid/Grid.js' => array(),
    ),
    'css' => array(
      $rld_path . '/assets/css/application.css' => array(),
      $rld_path . '/assets/css/grid.css' => array(),
    ),
  );
  $libraries['rlayout-admin'] = array(
    'title' => 'Layout admin interface',
    'version' => '0.1',
    'js' => array(
      $path . '/rlayout-admin.js' => array(),
    ),
    'css' => array(
      $path . '/rlayout-admin.css' => array(),
    ),
  );
  return $libraries;
}