You are here

function hook_jqmulti_libraries in jQuery Multi 7

Same name and namespace in other branches
  1. 6 jqmulti.api.php \hook_jqmulti_libraries()

Add libraries to be loaded with jQuery Multi's jQuery library.

Return value

An array of library names, where the name corresponds to the name of a directory in the sites/all/libraries directory. All and only the .js files in this directory will be automatically loaded by jQuery Multi.

2 invocations of hook_jqmulti_libraries()
jqmulti_admin_form in ./jqmulti.admin.inc
Admin form for jQuery Multi module.
jqmulti_get_files in ./jqmulti.module
Returns a list of files that should be loaded with the second jQuery.

File

./jqmulti.api.php, line 33
API documentation for the jQuery Multi module

Code

function hook_jqmulti_libraries() {
  return array(
    'some_library',
    'another_library',
  );
}