function acquia_spi_get_acquia_hosted_name in Acquia Connector 7.3
Helper function to generate the name for acquia hosted sites.
Return value
string The suggested Acquia Hosted name.
1 call to acquia_spi_get_acquia_hosted_name()
- acquia_spi_form_acquia_agent_settings_form_alter in acquia_spi/
acquia_spi.module - Implements hook_form_FORM_ID_alter().
File
- acquia_spi/
acquia_spi.module, line 1815 - Send site profile information (NSPI) and system data to Acquia Insight.
Code
function acquia_spi_get_acquia_hosted_name() {
if (!acquia_spi_check_acquia_hosted()) {
return '';
}
$server = acquia_agent_get_server_superglobal();
return acquia_agent_settings('acquia_subscription_name') . ': ' . $server['AH_SITE_ENVIRONMENT'];
}