You are here

function acsf_init_get_required_dirs in Acquia Cloud Site Factory Connector 8

Lists all required directories to create.

1 call to acsf_init_get_required_dirs()
drush_acsf_init in acsf_init/acsf_init.drush.inc
Command callback: executes the required changes to this repository.

File

acsf_init/acsf_init.drush.inc, line 623
Provides drush commands to set up a site for Acquia Site Factory.

Code

function acsf_init_get_required_dirs($repo_root) {
  return [
    'cloud hooks' => sprintf('%s/hooks/common/post-db-copy', $repo_root),
    'cloud hook deploy' => sprintf('%s/hooks/common/pre-web-activate', $repo_root),
    'acquia hook dir' => sprintf('%s/hooks/acquia', $repo_root),
    'cloud hook samples' => sprintf('%s/hooks/samples', $repo_root),
    'site config logic' => sprintf('%s/sites/g', DRUPAL_ROOT),
    'site env default' => sprintf('%s/sites/default', DRUPAL_ROOT),
  ];
}