You are here

public function Brightcove::__construct in Video Embed Brightcove 8

Create a plugin with the given input.

Parameters

string $configuration: The configuration of the plugin.

string $plugin_id: The plugin id.

mixed $plugin_definition: The plugin definition.

\GuzzleHttp\ClientInterface $http_client: An HTTP client.

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

Throws

\Exception

File

src/Plugin/video_embed_field/Provider/Brightcove.php, line 43

Class

Brightcove
A Brightcove provider plugin.

Namespace

Drupal\video_embed_brightcove\Plugin\video_embed_field\Provider

Code

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