You are here

public function LiveChatLicenseForm::__construct in LiveChat 8

Same name and namespace in other branches
  1. 8.2 src/Form/LiveChatLicenseForm.php \Drupal\livechat\Form\LiveChatLicenseForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/LiveChatLicenseForm.php, line 29

Class

LiveChatLicenseForm
Configure Coffee for this site.

Namespace

Drupal\livechat\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Client $http_client) {
  parent::__construct($config_factory);
  $this->httpClient = $http_client;
}