Release info

Created by: tstoeckler
Created on: March 9, 2013 - 16:59
Last updated: February 9, 2014 - 17:08
Core compatibility: 7.x
Release type: New features

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