You are here

function install_find_profiles in Drupal 7

Same name and namespace in other branches
  1. 6 install.php \install_find_profiles()

Finds all .profile files.

1 call to install_find_profiles()
install_select_profile in includes/install.core.inc
Selects which profile to install.

File

includes/install.core.inc, line 1035
API functions for installing Drupal.

Code

function install_find_profiles() {
  return file_scan_directory('./profiles', '/\\.profile$/', array(
    'key' => 'name',
  ));
}