diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-28 10:48:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-28 10:48:51 +0000 |
commit | 98b84b7adbf2dfee104167e4014ecd03fb965fff (patch) | |
tree | 26cb9cae9a031dbf63659e55a5d2c6fb54411378 /modules | |
parent | d24e2c1384d66ceb6ba5db7dae6b36f5f3ddfd31 (diff) | |
download | brdo-98b84b7adbf2dfee104167e4014ecd03fb965fff.tar.gz brdo-98b84b7adbf2dfee104167e4014ecd03fb965fff.tar.bz2 |
- Patch #661420 by justinrandell, David_Rothstein: made installation of modules much more efficient.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.api.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 57ad53536..70ba43ea1 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -2192,7 +2192,7 @@ function hook_disable() { * files found in each enabled module's info file and the core includes * directory. The array is keyed by the file path and contains an array of * the related module's name and weight as used internally by - * _registry_rebuild() and related functions. + * _registry_update() and related functions. * * For example: * @code @@ -2202,17 +2202,17 @@ function hook_disable() { * ); * @endcode * @param $modules - * List of all the modules provided as returned by drupal_system_listing(). - * The list also contains the .info file information in the property 'info'. - * An additional 'dir' property has been added to the module information - * which provides the path to the directory in which the module resides. The - * example shows how to take advantage of the property both properties. - * - * @see _registry_rebuild() - * @see drupal_system_listing() + * An array containing all module information stored in the {system} table. + * Each element of the array also contains the module's .info file + * information in the property 'info'. An additional 'dir' property has been + * added to the module information which provides the path to the directory + * in which the module resides. The example shows how to take advantage of + * both properties. + * + * @see _registry_update() * @see simpletest_test_get_all() */ -function hook_registry_files_alter(&$files, $module_cache) { +function hook_registry_files_alter(&$files, $modules) { foreach ($modules as $module) { // Only add test files for disabled modules, as enabled modules should // already include any test files they provide. |