Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download libraries-7.x-2.1.tar.gztar.gz 29.79 KB
MD5: e240bf43e3a4dd2d595bf24ac34d46bd
SHA-1: 8a315c63fdfeb1d3956fb5722fb35ad4e48b2bc7
SHA-256: 8db43965f14197d23f79783d66c887f8537f0ddd38a6480034b88bf300da0536
Download libraries-7.x-2.1.zipzip 39.34 KB
MD5: 7b9e5c1212e01f2f1de9ceff464abafa
SHA-1: 3c6cc330925447f7fd158b62f2b9545b39969578
SHA-256: 7ebba15557f88c46d2f5fa6278654d0e8f12fc3451fe21799e91748080b0aefd

Release notes

This is a minor update with two new features. It is fully backwards-compatible with version 7.x-2.0.

Be sure, however, to run update.php (as always)!

New features

  • Themes can implement hook_libraries_info() in their template.php file. The usage is identical to that of modules.
  • There is a new callback group: 'pre-dependencies-load'. Callbacks in this group are called right before the library's dependencies are loaded. When loading a library the flow now is the following:
    1. 'pre-dependencies-load' callbacks
    2. dependencies are loaded
    3. 'pre-load' callbacks
    4. library itself is loaded
    5. 'post-load' callbacks
Created by: tstoeckler
Created on: 9 Mar 2013 at 16:59 UTC
Last updated: 9 Feb 2014 at 17:08 UTC
New features

Other releases