You are here

public function AcquiaPurgeHostingInfo::areDomainsHardcoded in Acquia Purge 7

Are the domains manually hardcoded?

Return value

bool Boolean TRUE if domains are hardcoded, FALSE if automatically discovered.

1 call to AcquiaPurgeHostingInfo::areDomainsHardcoded()
AcquiaPurgeHostingInfo::domains in lib/AcquiaPurgeHostingInfo.php
Initialize $this->domains.

File

lib/AcquiaPurgeHostingInfo.php, line 448
Contains AcquiaPurgeHostingInfo.

Class

AcquiaPurgeHostingInfo
Provides technical information accessors for the Acquia Cloud environment.

Code

public function areDomainsHardcoded() {
  $hardcodes = _acquia_purge_variable('acquia_purge_domains');
  return is_array($hardcodes) && count($hardcodes);
}