public function AcsfInitCommands::getRequiredDirs in Acquia Cloud Site Factory Connector 8.2
Lists all required directories to create.
1 call to AcsfInitCommands::getRequiredDirs()
- AcsfInitCommands::init in acsf_init/
src/ Commands/ AcsfInitCommands.php - Make this repository compatible with Acquia Site Factory.
File
- acsf_init/
src/ Commands/ AcsfInitCommands.php, line 566
Class
- AcsfInitCommands
- Provides drush commands to set up a codebase for Acquia Cloud Site Factory.
Namespace
Drush\CommandsCode
public function getRequiredDirs($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),
];
}