Recently I ran into a situation where I need to add some conditions in Acquia Cloud Site Factory, factory - hooks to find out the ACSF site name. To evaluate those lines of code, I need to use Drush php https://drushcommands.com/drush-8x/core/core-cli/
>>> global $_acsf_site_name
>>> echo $_acsf_site_name
site1⏎
How to get the ACSF site name ?
$ drush php --uri=site1.example.acsitefactory.com
>>> global $_acsf_site_name
>>> echo $_acsf_site_name
site1⏎
Comments
Post a Comment