You are here

function get_theme_directory in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php \get_theme_directory()

Returns the path to the theme repository.

Parameters

string $site: The sitegroup name.

string $env: The environment name.

Return value

string The theme repo path.

1 call to get_theme_directory()
has_theme_files in acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php
Indicates whether theme files have been deployed.

File

acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php, line 203
This script is responsible for deploying theme files on each webnode.

Code

function get_theme_directory($site, $env) {
  return sprintf('/mnt/tmp/%s.%s/theme_repo/live/', $site, $env);
}