You are here

public function DeployRemoteCcServiceRestJSON::__construct in Deploy - Content Staging 7.3

Constructor for a service plugin.

Parameters

array $config: An associative array of configuration settings for the service plugin.

Overrides DeployServiceRest::__construct

File

modules/deploy_remote_cc/plugins/DeployRemoteCcServiceRestJSON.inc, line 18

Class

DeployRemoteCcServiceRestJSON
Class for calling Rest Service.

Code

public function __construct(array $config = array()) {
  parent::__construct($config);

  // Clearing caches takes time overriding the default value.
  $this->config['timeout'] = 120.0;
}