function drupal_get_install_files in Drupal 6
Same name and namespace in other branches
- 5 includes/install.inc \drupal_get_install_files()
Get list of all .install files.
Parameters
$module_list: An array of modules to search for their .install files.
2 calls to drupal_get_install_files()
- drupal_check_module in includes/
install.inc - Check a module's requirements.
- drupal_check_profile in includes/
install.inc - Check a profile's requirements.
File
- includes/
install.inc, line 251
Code
function drupal_get_install_files($module_list = array()) {
$installs = array();
foreach ($module_list as $module) {
$installs = array_merge($installs, drupal_system_listing($module . '.install$', 'modules'));
}
return $installs;
}