interface PlatformInfoInterface in Acquia Purge 8
Describes an information object interfacing with the Acquia platform.
Hierarchy
- interface \Drupal\acquia_purge\AcquiaCloud\PlatformInfoInterface
Expanded class hierarchy of PlatformInfoInterface
All classes that implement PlatformInfoInterface
10 files declare their use of PlatformInfoInterface
- AcquiaCloudCheck.php in src/
Plugin/ Purge/ DiagnosticCheck/ AcquiaCloudCheck.php - AcquiaCloudPurger.php in src/
Plugin/ Purge/ Purger/ AcquiaCloudPurger.php - AcquiaCloudSiteHeader.php in src/
Plugin/ Purge/ TagsHeader/ AcquiaCloudSiteHeader.php - AcquiaPlatformCdnCheck.php in src/
Plugin/ Purge/ DiagnosticCheck/ AcquiaPlatformCdnCheck.php - AcquiaPlatformCdnPurger.php in src/
Plugin/ Purge/ Purger/ AcquiaPlatformCdnPurger.php
File
- src/
AcquiaCloud/ PlatformInfoInterface.php, line 8
Namespace
Drupal\acquia_purge\AcquiaCloudView source
interface PlatformInfoInterface {
/**
* Get the load balancer IP adresses installed in front of this site.
*
* @return string[]
* Unassociative list of adresses in the form of 'I.P.V.4', or empty array.
*/
public function getBalancerAddresses();
/**
* Get the token used to authenticate cache invalidations with.
*
* @return string
* Token string, e.g. 'oursecret' or 'sitedev'.
*/
public function getBalancerToken();
/**
* Get the Acquia Platform CDN configuration.
*
* @throws \RuntimeException
* Thrown when either no configuration is available.
*
* @return mixed[]
* Associated array with configuration parameters for Acquia Platform CDN,
* which has at minimum the following two keys:
* - config: Configuration source string, either 'settings' or 'state'.
* - vendor: The underlying CDN backend used by the platform.
* - ... other keys can be present depending on the used backend.
*/
public function getPlatformCdnConfiguration();
/**
* Get the Acquia site environment.
*
* @return string
* The site environment, e.g. 'dev'.
*/
public function getSiteEnvironment();
/**
* Get the Acquia site group.
*
* @return string
* The site group, e.g. 'site' or '' when unavailable.
*/
public function getSiteGroup();
/**
* Get a unique identifier for this Acquia site.
*
* @return string
* Unique string for this Drupal instance, even within multisites!
*/
public function getSiteIdentifier();
/**
* Get the Acquia site name.
*
* @return string
* The site group, e.g. 'sitedev' or '' when unavailable.
*/
public function getSiteName();
/**
* Get the Drupal site path.
*
* @return string
* The site path, e.g. 'site/default' or 'site/mysecondsite'.
*/
public function getSitePath();
/**
* Determine whether the current site is running on Acquia Cloud.
*
* @return true|false
* Boolean expression where 'true' indicates Acquia Cloud or 'false'.
*/
public function isThisAcquiaCloud();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PlatformInfoInterface:: |
public | function | Get the load balancer IP adresses installed in front of this site. | 1 |
PlatformInfoInterface:: |
public | function | Get the token used to authenticate cache invalidations with. | 1 |
PlatformInfoInterface:: |
public | function | Get the Acquia Platform CDN configuration. | 1 |
PlatformInfoInterface:: |
public | function | Get the Acquia site environment. | 1 |
PlatformInfoInterface:: |
public | function | Get the Acquia site group. | 1 |
PlatformInfoInterface:: |
public | function | Get a unique identifier for this Acquia site. | 1 |
PlatformInfoInterface:: |
public | function | Get the Acquia site name. | 1 |
PlatformInfoInterface:: |
public | function | Get the Drupal site path. | 1 |
PlatformInfoInterface:: |
public | function | Determine whether the current site is running on Acquia Cloud. | 1 |