1 system.module system_library_info()

Implements hook_library_info().

File

core/modules/system/system.module, line 1182
Configuration system that lets administrators modify the workings of the site.

Code

function system_library_info() {
  $system_module_path = backdrop_get_path('module', 'system');

  // Backdrop's Ajax framework.
  $libraries['backdrop.ajax'] = array(
    'title' => 'Backdrop AJAX',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/ajax.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'backdrop.progress'),
    ),
  );

  // Backdrop's batch API.
  $libraries['backdrop.batch'] = array(
    'title' => 'Backdrop batch API',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/batch.js' => array('group' => JS_DEFAULT, 'cache' => FALSE),
    ),
    'dependencies' => array(
      array('system', 'backdrop.progress'),
    ),
  );

  // Backdrop's progress indicator.
  $libraries['backdrop.progress'] = array(
    'title' => 'Backdrop progress indicator',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/progress.js' => array('group' => JS_DEFAULT),
    ),
  );

  // Backdrop's form library.
  $libraries['backdrop.form'] = array(
    'title' => 'Backdrop form library',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/form.js' => array('group' => JS_LIBRARY, 'weight' => 1),
    ),
  );

  // Backdrop's dialog component.
  $libraries['backdrop.dialog'] = array(
    'title' => 'Backdrop dialog',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/dialog.js' => array('group' => JS_LIBRARY),
    ),
    'css' => array(
      'core/misc/dialog.theme.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'jquery'),
      array('system', 'ui.dialog'),
    ),
  );

  // Backdrop's integration between AJAX and dialogs.
  $libraries['backdrop.dialog.ajax'] = array(
    'title' => 'Backdrop dialog AJAX integration',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/dialog.ajax.js' => array('group' => JS_LIBRARY, 'weight' => 3),
    ),
    'dependencies' => array(
      array('system', 'jquery'),
      array('system', 'backdrop.ajax'),
      array('system', 'backdrop.dialog'),
    ),
  );

  // Backdrop's icon API library.
  $libraries['backdrop.icons'] = array(
    'title' => 'Backdrop icons',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/icons.js' => array('group' => JS_LIBRARY, 'weight' => -18),
    ),
  );

  // Backdrop's states library.
  $libraries['backdrop.states'] = array(
    'title' => 'Backdrop states',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/states.js' => array('group' => JS_LIBRARY, 'weight' => 1),
    ),
  );

  // Backdrop's responsive table API.
  $libraries['backdrop.tableresponsive'] = array(
    'title' => 'Backdrop responsive table API',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/tableresponsive.js' => array('group' => JS_LIBRARY),
    ),
    'dependencies' => array(
      array('system', 'jquery.once'),
    ),
  );

  // Backdrop's collapsible fieldset.
  $libraries['backdrop.collapse'] = array(
    'title' => 'Backdrop collapsible fieldset',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/collapse.js' => array('group' => JS_DEFAULT),
    ),
    'dependencies' => array(
      // collapse.js relies on backdropGetSummary in form.js
      array('system', 'backdrop.form'),
    ),
  );

  // Backdrop's autocomplete widget.
  $libraries['backdrop.autocomplete'] = array(
    'title' => 'Backdrop autocomplete',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/autocomplete.js' => array('group' => JS_DEFAULT),
    ),
  );

  // Autosubmit for forms.
  $libraries['backdrop.autosubmit'] = array(
    'title' => 'Backdrop autosubmit',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/autosubmit.js' => array('group' => JS_DEFAULT),
    ),
  );

  $libraries['backdrop.modules'] = array(
    'title' => 'Modules Filter',
    'version' => BACKDROP_VERSION,
    'js' => array(
      $system_module_path . '/js/modules.js' => array('group' => JS_DEFAULT),
    ),
  );

  $libraries['backdrop.menus'] = array(
    'title' => 'Backdrop menu styles',
    'version' => BACKDROP_VERSION,
    'js' => array(
      $system_module_path . '/js/menus.js' => array('group' => JS_DEFAULT),
    ),
    // CSS is added conditionally below.
  );

  // Announce.
  $libraries['backdrop.announce'] = array(
    'title' => 'Announce',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/announce.js' => array('group' => JS_DEFAULT),
    ),
  );

  $libraries['backdrop.menu-toggle'] = array(
    'title' => 'Backdrop menu toggle',
    'version' => BACKDROP_VERSION,
    // CSS is added conditionally below.
  );

  // Add conditional CSS to above libraries.
  $menu_config = config('menu.settings');
  if ($menu_config->get('menu_breakpoint') == 'custom') {
    $libraries['backdrop.menus']['css'] = array(
      $system_module_path . '/css/menu-dropdown.theme.breakpoint.css' => array('group' => CSS_DEFAULT),
      $system_module_path . '/css/menu-dropdown.theme.breakpoint-queries.css' => array(
        'group' => CSS_DEFAULT,
        'media' => 'all and (min-width: ' . $menu_config->get('menu_breakpoint_custom') . ')',
      ),
    );
    $libraries['backdrop.menu-toggle']['css'] = array(
      $system_module_path . '/css/menu-toggle.theme.breakpoint.css' => array('group' => CSS_DEFAULT),
      $system_module_path . '/css/menu-toggle.theme.breakpoint-queries.css' => array(
        'group' => CSS_DEFAULT,
        'media' => 'all and (min-width: ' . $menu_config->get('menu_breakpoint_custom') . ')',
      ),
    );
  }
  else {
    $libraries['backdrop.menus']['css'][$system_module_path . '/css/menu-dropdown.theme.css'] = array('group' => CSS_DEFAULT);
    $libraries['backdrop.menu-toggle']['css'][$system_module_path . '/css/menu-toggle.theme.css'] = array('group' => CSS_DEFAULT);
  }

  // Dismiss buttons.
  $libraries['backdrop.dismiss'] = array(
    'title' => 'Dismiss buttons',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/dismiss.js' => array('group' => JS_DEFAULT),
    ),
  );

  // jQuery.
  $libraries['jquery'] = array(
    'title' => 'jQuery',
    'website' => 'http://jquery.com',
    'version' => '3.7.1',
    'js' => array(
      'core/misc/jquery.js' => array('group' => JS_LIBRARY, 'weight' => -20),
    ),
  );

  // jQuery Once.
  $libraries['jquery.once'] = array(
    'title' => 'jQuery Once (Backdrop fork)',
    'version' => '1.2.6',
    'js' => array(
      'core/misc/jquery.once.js' => array('group' => JS_LIBRARY, 'weight' => -19),
    ),
  );

  // jQuery Form Plugin.
  $libraries['jquery.form'] = array(
    'title' => 'jQuery Form Plugin',
    'website' => 'https://github.com/jquery-form/form',
    'version' => '4.3.0',
    'js' => array(
      'core/misc/jquery.form.js' => array(),
    ),
  );

  // jQuery TimeEntry
  $libraries['jquery.timeentry'] = array(
    'title' => 'jQuery Time Entry Plugin',
    'website' => 'http://keith-wood.name/timeEntry.html',
    'version' => '1.5.2',
    'js' => array(
      'core/misc/jquery.timeentry.js' => array(),
    ),
  );

  // Dropbutton.
  $libraries['backdrop.dropbutton'] = array(
    'title' => 'Dropbutton',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/dropbutton.js' => array(),
    ),
    'css' => array(
      'core/misc/dropbutton.css' => array(),
      'core/misc/dropbutton.theme.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'jquery.once'),
    ),
  );

  // Vertical Tabs.
  $libraries['backdrop.vertical-tabs'] = array(
    'title' => 'Vertical Tabs',
    'version' => BACKDROP_VERSION,
    'js' => array(
      'core/misc/vertical-tabs.js' => array(),
    ),
    'css' => array(
      'core/misc/vertical-tabs.css' => array(),
    ),
    'dependencies' => array(
      // Vertical tabs relies on backdropGetSummary in form.js
      array('system', 'backdrop.form'),
    ),
  );

  // Jump menu.
  $libraries['jump-menu'] = array(
    'title' => 'Jump Menu',
    'version' => BACKDROP_VERSION,
    'js' => array(
      $system_module_path . '/js/system.jump-menu.js' => array('group' => JS_DEFAULT),
    ),
  );

  // Farbtastic.
  $libraries['farbtastic'] = array(
    'title' => 'Farbtastic',
    'website' => 'http://code.google.com/p/farbtastic/',
    'version' => '1.2',
    'js' => array(
      'core/misc/farbtastic/farbtastic.js' => array(),
    ),
    'css' => array(
      'core/misc/farbtastic/farbtastic.css' => array(),
    ),
  );

  // SmartMenus.
  $libraries['smartmenus'] = array(
    'title' => 'SmartMenus',
    'website' => 'http://www.smartmenus.org',
    'version' => '1.0.0',
    'css' => array(
      'core/misc/smartmenus/css/sm-core-css.css' => array(
        'group' => CSS_THEME,
        'media' => 'screen',
      ),
    ),
    'js' => array(
      'core/misc/smartmenus/jquery.smartmenus.js' => array(
        'group' => JS_LIBRARY,
      ),
      'core/misc/smartmenus/addons/keyboard/jquery.smartmenus.keyboard.js' => array(
        'group' => JS_LIBRARY,
      ),
    ),
  );

  // OpenSans.
  $libraries['opensans'] = array(
    'title' => 'OpenSans',
    'website' => 'https://fonts.google.com/specimen/Open+Sans',
    'version' => '1.0',
    'css' => array(
      'core/misc/opensans/opensans.css' => array(
        'group' => CSS_THEME,
        'media' => 'screen',
      ),
    ),
  );

  // Cookie.
  $libraries['jquery.cookie'] = array(
    'title' => 'Cookie',
    'website' => 'http://plugins.jquery.com/project/cookie',
    'version' => '1.0',
    'js' => array(
      'core/misc/jquery.cookie.js' => array(),
    ),
  );

  // jQuery UI.
  $libraries['ui'] = array(
    'title' => 'jQuery UI: Core',
    'website' => 'http://jqueryui.com',
    'version' => '1.14.0',
    'js' => array(
      'core/misc/jquery-ui-compat.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.data.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.disable-selection.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.labels.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.scroll-parent.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.tabbable.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.unique-id.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.version.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.jquery-patch.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.focusable.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.form-reset-mixin.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.keycode.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
      'core/misc/ui/jquery.ui.plugin.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -11,
      ),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.core.css' => array(),
      'core/misc/ui/jquery.ui.theme.css' => array(),
    ),
  );
  $libraries['ui.accordion'] = array(
    'title' => 'jQuery UI: Accordion',
    'website' => 'http://jqueryui.com/accordion/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.accordion.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.accordion.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
    ),
  );
  $libraries['ui.autocomplete'] = array(
    'title' => 'jQuery UI: Autocomplete',
    'website' => 'http://jqueryui.com/autocomplete/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.autocomplete.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.autocomplete.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.position'),
      array('system', 'ui.menu'),
    ),
  );
  $libraries['ui.button'] = array(
    'title' => 'jQuery UI: Button',
    'website' => 'http://jqueryui.com/button/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.button.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.button.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
    ),
  );
  $libraries['ui.checkboxradio'] = array(
    'title' => 'jQuery UI: Checkbox Radio',
    'website' => 'http://jqueryui.com/checkboxradio/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.checkboxradio.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.checkboxradio.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
    ),
  );
  $libraries['ui.controlgroup'] = array(
    'title' => 'jQuery UI: Control Group',
    'website' => 'http://jqueryui.com/controlgroup/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.controlgroup.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.controlgroup.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
    ),
  );
  $libraries['ui.datepicker'] = array(
    'title' => 'jQuery UI: Date Picker',
    'website' => 'http://jqueryui.com/datepicker/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.datepicker.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.datepicker.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui'),
    ),
  );
  $libraries['ui.dialog'] = array(
    'title' => 'jQuery UI: Dialog',
    'website' => 'http://jqueryui.com/dialog/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.dialog.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.dialog.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.button'),
      array('system', 'ui.draggable'),
      array('system', 'ui.mouse'),
      array('system', 'ui.position'),
      array('system', 'ui.resizable'),
    ),
  );
  $libraries['ui.draggable'] = array(
    'title' => 'jQuery UI: Draggable',
    'website' => 'http://jqueryui.com/draggable/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.draggable.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.draggable.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.mouse'),
      array('system', 'ui.touch-punch'),
    ),
  );
  $libraries['ui.droppable'] = array(
    'title' => 'jQuery UI: Droppable',
    'website' => 'http://jqueryui.com/droppable/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.droppable.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.mouse'),
      array('system', 'ui.draggable'),
    ),
  );
  $libraries['ui.menu'] = array(
    'title' => 'jQuery UI: Menu',
    'website' => 'http://jqueryui.com/menu/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.menu.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.menu.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.position'),
    ),
  );
  $libraries['ui.mouse'] = array(
    'title' => 'jQuery UI: Mouse',
    'website' => 'http://jqueryui.com/mouse/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.mouse.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
    ),
  );
  $libraries['ui.position'] = array(
    'title' => 'jQuery UI: Position',
    'website' => 'http://jqueryui.com/position/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.position.min.js' => array(),
    ),
  );
  $libraries['ui.progressbar'] = array(
    'title' => 'jQuery UI: Progress Bar',
    'website' => 'http://jqueryui.com/progressbar/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.progressbar.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.progressbar.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
    ),
  );
  $libraries['ui.resizable'] = array(
    'title' => 'jQuery UI: Resizable',
    'website' => 'http://jqueryui.com/resizable/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.resizable.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.resizable.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.mouse'),
    ),
  );
  $libraries['ui.selectable'] = array(
    'title' => 'jQuery UI: Selectable',
    'website' => 'http://jqueryui.com/selectable/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.selectable.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.selectable.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.mouse'),
    ),
  );

  $libraries['ui.selectmenu'] = array(
    'title' => 'jQuery UI: Select Menu',
    'website' => 'http://jqueryui.com/selectmenu/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.selectmenu.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.selectmenu.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.position'),
      array('system', 'ui.menu'),
    ),
  );
  $libraries['ui.slider'] = array(
    'title' => 'jQuery UI: Slider',
    'website' => 'http://jqueryui.com/slider/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.slider.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.slider.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.mouse'),
    ),
  );
  $libraries['ui.sortable'] = array(
    'title' => 'jQuery UI: Sortable',
    'website' => 'http://jqueryui.com/sortable/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.sortable.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.sortable.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.draggable'),
      array('system', 'ui.droppable'),
    ),
  );
  $libraries['ui.spinner'] = array(
    'title' => 'jQuery UI: Spinner',
    'website' => 'http://jqueryui.com/spinner/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.spinner.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.spinner.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.button'),
    ),
  );
  $libraries['ui.tabs'] = array(
    'title' => 'jQuery UI: Tabs',
    'website' => 'http://jqueryui.com/tabs/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.tabs.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.tabs.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
    ),
  );
  $libraries['ui.tooltip'] = array(
    'title' => 'jQuery UI: Tooltip',
    'website' => 'http://jqueryui.com/tooltip/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.tooltip.min.js' => array(),
    ),
    'css' => array(
      'core/misc/ui/jquery.ui.tooltip.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.position'),
    ),
  );
  $libraries['ui.widget'] = array(
    'title' => 'jQuery UI: Widget',
    'website' => 'http://jqueryui.com/widget/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.widget.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -10,
      ),
    ),
    'dependencies' => array(
      array('system', 'ui'),
    ),
  );

  // The jQuery Color library was separate from jQuery UI: Effects in version
  // 1.13.0 of jQuery UI. The version used here should be locked to the version
  // shipped with jQuery UI.
  $libraries['jquery.color'] = array(
    'title' => 'jQuery Color',
    'website' => 'https://github.com/jquery/jquery-color',
    'version' => '2.2.0',
    'js' => array(
      'core/misc/jquery.color.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -9,
      ),
    ),
  );

  $libraries['effects'] = array(
    'title' => 'jQuery UI: Effects',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => -9,
      ),
    ),
    'dependencies' => array(
      array('system', 'jquery.color'),
    ),
  );
  $libraries['effects.blind'] = array(
    'title' => 'jQuery UI: Effects Blind',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-blind.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.bounce'] = array(
    'title' => 'jQuery UI: Effects Bounce',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-bounce.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.clip'] = array(
    'title' => 'jQuery UI: Effects Clip',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-clip.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.drop'] = array(
    'title' => 'jQuery UI: Effects Drop',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-drop.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.explode'] = array(
    'title' => 'jQuery UI: Effects Explode',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-explode.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.fade'] = array(
    'title' => 'jQuery UI: Effects Fade',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-fade.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.fold'] = array(
    'title' => 'jQuery UI: Effects Fold',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-fold.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.highlight'] = array(
    'title' => 'jQuery UI: Effects Highlight',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-highlight.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.puff'] = array(
    'title' => 'jQuery UI: Effects Puff',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-puff.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.pulsate'] = array(
    'title' => 'jQuery UI: Effects Pulsate',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-pulsate.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.scale'] = array(
    'title' => 'jQuery UI: Effects Scale',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-scale.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.shake'] = array(
    'title' => 'jQuery UI: Effects Shake',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-shake.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.scale'] = array(
    'title' => 'jQuery UI: Effects Scale',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-scale.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.slide'] = array(
    'title' => 'jQuery UI: Effects Slide',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-slide.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );
  $libraries['effects.transfer'] = array(
    'title' => 'jQuery UI: Effects Transfer',
    'website' => 'http://jqueryui.com/effect/',
    'version' => $libraries['ui']['version'],
    'js' => array(
      'core/misc/ui/jquery.ui.effect-transfer.min.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'effects'),
    ),
  );

  // Touch Punch for jQuery UI touch support.
  $libraries['ui.touch-punch'] = array(
    'title' => 'jQuery UI Touch Punch',
    'website' => 'https://github.com/RWAP/jquery-ui-touch-punch/',
    'version' => '1.1.5',
    'js' => array(
      'core/misc/jquery.ui.touch-punch.js' => array(),
    ),
    'dependencies' => array(
      array('system', 'ui.widget'),
      array('system', 'ui.mouse'),
    ),
  );

  // Tokens.
  $libraries['token'] = array(
    'title' => 'Token behaviors',
    'version' => '1.0',
    'js' => array(
      $system_module_path . '/js/token.js' => array(),
    ),
    'css' => array(
      $system_module_path . '/css/token.css' => array(),
    ),
    'dependencies' => array(
      array('system', 'jquery.treetable'),
      array('system', 'backdrop.ajax'),
    ),
    'icons' => array(
      'caret-down',
    ),
  );

  // jQuery treeTable plugin.
  $libraries['jquery.treetable'] = array(
    'title' => 'jQuery treetable',
    'website' => 'http://plugins.jquery.com/project/treetable',
    'version' => '3.2.0',
    'js' => array(
      $system_module_path . '/js/jquery.treetable.js' => array(),
    ),
    'css' => array(
      $system_module_path . '/css/jquery.treetable.css' => array(),
      $system_module_path . '/css/jquery.treetable.theme.default.css' => array(),
    ),
  );

  return $libraries;
}