Skip to content

Commit

Permalink
Add comments for AH variables
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Oct 27, 2020
1 parent f8f4188 commit 03bc477
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/AcquiaDrupalEnvironmentDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,21 +139,30 @@ public static function isAhDevCloud() {
}

/**
* Get AH group.
* Get Acquia hosting site group.
*
* @return string
* Site group (usually a customer name).
*/
public static function getAhGroup() {
return getenv('AH_SITE_GROUP');
}

/**
* Get AH env.
* Get Acquia hosting environment.
*
* @return string
* Environment name (e.g. dev, stage, prod).
*/
public static function getAhEnv() {
return getenv('AH_SITE_ENVIRONMENT');
}

/**
* Get AH realm.
* Get Acquia hosting realm.
*
* @return string
* Realm name (e.g. prod, gardens).
*/
public static function getAhRealm() {
return getenv('AH_REALM');
Expand Down

0 comments on commit 03bc477

Please sign in to comment.