Revision ed912c77
Added by Assos Assos about 6 years ago
drupal7/sites/all/modules/libraries/libraries.api.php | ||
---|---|---|
47 | 47 |
* Unless 'version' is declared or libraries_get_version() is being used as |
48 | 48 |
* a version callback, 'version callback' must be declared. In the latter |
49 | 49 |
* case, however, 'version arguments' must be declared in the specified way. |
50 |
* For libraries that provide a package.json file, use |
|
51 |
* 'libraries_get_package_json_version' as the version callback. |
|
50 | 52 |
* - version arguments: (optional) A list of arguments to pass to the version |
51 | 53 |
* callback. Version arguments can be declared either as an associative |
52 | 54 |
* array whose keys are the argument names or as an indexed array without |
Also available in: Unified diff
Weekly update of contrib modules