You are here

public function CloudBlockManager::__construct in Gutenberg 8

Same name and namespace in other branches
  1. 8.2 modules/gutenberg_cloud/src/CloudBlockManager.php \Drupal\gutenberg_cloud\CloudBlockManager::__construct()

CloudBlockManager constructor.

Parameters

\GuzzleHttp\ClientInterface $http_client: Http client service.

\Drupal\Core\Config\ConfigFactoryInterface $config: Config factory service.

File

modules/gutenberg_cloud/src/CloudBlockManager.php, line 52

Class

CloudBlockManager
Class CloudBlockManager.

Namespace

Drupal\gutenberg_cloud

Code

public function __construct(ClientInterface $http_client, ConfigFactoryInterface $config) {
  $this->httpClient = $http_client;
  $this->config = $config;
}