drupal_get_install_files

Versions
5 – 7
drupal_get_install_files($module_list = array())

Get list of all .install files.

Parameters

$module_list An array of modules to search for their .install files.

Code

includes/install.inc, line 251

<?php
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;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.