Same name and namespace in other branches
  1. 7.x includes/install.core.inc \install_find_profiles()

Find all .profile files.

2 calls to install_find_profiles()
install_select_profile in ./install.php
Allow admin to select which profile to install.
install_task_list in ./install.php
Add the installation task list to the current page.

File

./install.php, line 433

Code

function install_find_profiles() {
  return file_scan_directory('./profiles', '\\.profile$', array(
    '.',
    '..',
    'CVS',
  ), 0, TRUE, 'name', 0);
}