You are here

public function BrightcoveSubscriptionQueueWorker::__construct in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/QueueWorker/BrightcoveSubscriptionQueueWorker.php \Drupal\brightcove\Plugin\QueueWorker\BrightcoveSubscriptionQueueWorker::__construct()
  2. 3.x src/Plugin/QueueWorker/BrightcoveSubscriptionQueueWorker.php \Drupal\brightcove\Plugin\QueueWorker\BrightcoveSubscriptionQueueWorker::__construct()

Constructs a new BrightcoveSubscriptionQueueWorker object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityStorageInterface $api_client_storage: The brightcove_api_client storage.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/BrightcoveSubscriptionQueueWorker.php, line 41

Class

BrightcoveSubscriptionQueueWorker
Processes Entity Sync Tasks for Subscription.

Namespace

Drupal\brightcove\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityStorageInterface $api_client_storage) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->apiClientStorage = $api_client_storage;
}