You are here

final public function AcquiaCloudCheck::__construct in Acquia Purge 8

Constructs a AcquiaCloudCheck object.

Parameters

\Drupal\acquia_purge\AcquiaCloud\PlatformInfoInterface $acquia_purge_platforminfo: Information object interfacing with the Acquia platform.

\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module extension list.

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

src/Plugin/Purge/DiagnosticCheck/AcquiaCloudCheck.php, line 52

Class

AcquiaCloudCheck
Acquia Purge.

Namespace

Drupal\acquia_purge\Plugin\Purge\DiagnosticCheck

Code

public final function __construct(PlatformInfoInterface $acquia_purge_platforminfo, ModuleExtensionList $moduleExtensionList, array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->moduleExtensionList = $moduleExtensionList;
  $this->platformInfo = $acquia_purge_platforminfo;
}