You are here

public function SettingsForm::__construct in Video Embed Brightcove 8

Constructs a new SettingsForm instance.

Parameters

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

\GuzzleHttp\ClientInterface $http_client: The HTTP client.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 33

Class

SettingsForm
Configure Video Embed Brightcove module.

Namespace

Drupal\video_embed_brightcove\Form

Code

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