Skip to main content

Posts

Showing posts from May, 2020

Drush php in Acquia Cloud Site factory

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/ How to get the ACSF site name ? $ drush php --uri=site1.example.acsitefactory.com >>> global $_acsf_site_name >>> echo $_acsf_site_name site1⏎