diff options
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index cb2f2d534..64835c86a 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -554,9 +554,9 @@ function hook_js_alter(&$javascript) { * element of the value. * - 'css': Like 'js', an array of CSS elements passed to drupal_add_css(). * - 'dependencies': An array of libraries that are required for a library. Each - * element is an array containing the module and name of the registered - * library. Note that all dependencies for each dependent library will be - * added when this library is added. + * element is an array listing the module and name of another library. Note + * that all dependencies for each dependent library will also be added when + * this library is added. * * Registered information for a library should contain re-usable data only. * Module- or implementation-specific data and integration logic should be added @@ -599,7 +599,7 @@ function hook_library() { ), 'dependencies' => array( // Require jQuery UI core by System module. - array('system' => 'ui'), + array('system', 'ui'), // Require our other library. array('my_module', 'library-1'), // Require another library. |