You are here

public function PlatformInfoInterface::getPlatformCdnConfiguration in Acquia Purge 8

Get the Acquia Platform CDN configuration.

Return value

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.

Throws

\RuntimeException Thrown when either no configuration is available.

1 method overrides PlatformInfoInterface::getPlatformCdnConfiguration()
PlatformInfo::getPlatformCdnConfiguration in src/AcquiaCloud/PlatformInfo.php
Get the Acquia Platform CDN configuration.

File

src/AcquiaCloud/PlatformInfoInterface.php, line 39

Class

PlatformInfoInterface
Describes an information object interfacing with the Acquia platform.

Namespace

Drupal\acquia_purge\AcquiaCloud

Code

public function getPlatformCdnConfiguration();