function acsf_sj_get_sjadd_path in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 acsf_sj/acsf_sj.module \acsf_sj_get_sjadd_path()
Returns the path to the sjadd binary.
Return value
string|null Returns sjadd path if $HOME exists, NULL otherwise.
1 call to acsf_sj_get_sjadd_path()
- SjApiClient::__construct in acsf_sj/
src/ Api/ SjApiClient.php - Constructs the ACSF SJ Client.
File
- acsf_sj/
acsf_sj.module, line 14 - Provides an integration with the Scheduled Jobs service.
Code
function acsf_sj_get_sjadd_path() {
return isset($_ENV['HOME']) ? $_ENV['HOME'] . '/acquia_sj/sjadd' : NULL;
}