1 install.core.inc install_find_profiles()

Finds all .profile files.

File

core/includes/install.core.inc, line 1117
API functions for installing Backdrop.

Code

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